mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
完善
This commit is contained in:
61
pom.xml
61
pom.xml
@@ -348,7 +348,6 @@
|
||||
<filtering>false</filtering>
|
||||
<includes>
|
||||
<include>**/*.xdb</include> <!-- 假设 XML 文件是二进制文件 -->
|
||||
<include>**/*.db</include> <!-- 假设 XML 文件是二进制文件 -->
|
||||
<!-- 添加其他二进制文件的匹配规则 -->
|
||||
</includes>
|
||||
</resource>
|
||||
@@ -394,36 +393,36 @@
|
||||
</plugin>
|
||||
|
||||
|
||||
<plugin>
|
||||
<groupId>com.cosium.code</groupId>
|
||||
<artifactId>git-code-format-maven-plugin</artifactId>
|
||||
<version>${git-code-format-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<!-- On commit, format the modified files -->
|
||||
<execution>
|
||||
<id>install-formatter-hook</id>
|
||||
<goals>
|
||||
<goal>install-hooks</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<!-- On Maven verify phase, fail if any file
|
||||
(including unmodified) is badly formatted -->
|
||||
<execution>
|
||||
<id>validate-code-format</id>
|
||||
<goals>
|
||||
<goal>validate-code-format</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<dependencies>
|
||||
<!-- Enable https://github.com/google/google-java-format -->
|
||||
<dependency>
|
||||
<groupId>com.cosium.code</groupId>
|
||||
<artifactId>google-java-format</artifactId>
|
||||
<version>${git-code-format-maven-plugin.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
<!-- <plugin>-->
|
||||
<!-- <groupId>com.cosium.code</groupId>-->
|
||||
<!-- <artifactId>git-code-format-maven-plugin</artifactId>-->
|
||||
<!-- <version>${git-code-format-maven-plugin.version}</version>-->
|
||||
<!-- <executions>-->
|
||||
<!-- <!– On commit, format the modified files –>-->
|
||||
<!-- <execution>-->
|
||||
<!-- <id>install-formatter-hook</id>-->
|
||||
<!-- <goals>-->
|
||||
<!-- <goal>install-hooks</goal>-->
|
||||
<!-- </goals>-->
|
||||
<!-- </execution>-->
|
||||
<!-- <!– On Maven verify phase, fail if any file-->
|
||||
<!-- (including unmodified) is badly formatted –>-->
|
||||
<!-- <execution>-->
|
||||
<!-- <id>validate-code-format</id>-->
|
||||
<!-- <goals>-->
|
||||
<!-- <goal>validate-code-format</goal>-->
|
||||
<!-- </goals>-->
|
||||
<!-- </execution>-->
|
||||
<!-- </executions>-->
|
||||
<!-- <dependencies>-->
|
||||
<!-- <!– Enable https://github.com/google/google-java-format –>-->
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>com.cosium.code</groupId>-->
|
||||
<!-- <artifactId>google-java-format</artifactId>-->
|
||||
<!-- <version>${git-code-format-maven-plugin.version}</version>-->
|
||||
<!-- </dependency>-->
|
||||
<!-- </dependencies>-->
|
||||
<!-- </plugin>-->
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user