Skip to content

Commit fe684f2

Browse files
committed
fix: Fix pom
1 parent 8503161 commit fe684f2

File tree

1 file changed

+23
-24
lines changed

1 file changed

+23
-24
lines changed

pom.xml

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -173,31 +173,30 @@
173173
<target>17</target> <!-- 生成字节码的 Java 版本 -->
174174
</configuration>
175175
</plugin>
176-
177176
<!-- Maven Checkstyle Plugin 配置 -->
178-
<plugin>
179-
<groupId>org.apache.maven.plugins</groupId>
180-
<artifactId>maven-checkstyle-plugin</artifactId>
181-
<version>3.6.0</version>
182-
<executions>
183-
<execution>
184-
<id>validate</id>
185-
<phase>validate</phase> <!-- 在 validate 阶段执行 -->
186-
<goals>
187-
<goal>check</goal> <!-- 运行 check 目标 -->
188-
</goals>
189-
</execution>
190-
</executions>
191-
<configuration>
192-
<!-- 配置 checkstyle.xml 文件的路径 -->
193-
<configLocation>app/src/main/resources/checkstyle.xml</configLocation>
194-
<consoleOutput>true</consoleOutput>
195-
<failsOnError>true</failsOnError>
196-
<linkXRef>false</linkXRef>
197-
<outputFile>target/checkstyle-result.xml</outputFile>
198-
<outputFileFormat>xml</outputFileFormat>
199-
</configuration>
200-
</plugin>
177+
<!-- <plugin>-->
178+
<!-- <groupId>org.apache.maven.plugins</groupId>-->
179+
<!-- <artifactId>maven-checkstyle-plugin</artifactId>-->
180+
<!-- <version>3.6.0</version>-->
181+
<!-- <executions>-->
182+
<!-- <execution>-->
183+
<!-- <id>validate</id>-->
184+
<!-- <phase>validate</phase> &lt;!&ndash; 在 validate 阶段执行 &ndash;&gt;-->
185+
<!-- <goals>-->
186+
<!-- <goal>check</goal> &lt;!&ndash; 运行 check 目标 &ndash;&gt;-->
187+
<!-- </goals>-->
188+
<!-- </execution>-->
189+
<!-- </executions>-->
190+
<!-- <configuration>-->
191+
<!-- &lt;!&ndash; 配置 checkstyle.xml 文件的路径 &ndash;&gt;-->
192+
<!-- <configLocation>app/src/main/resources/checkstyle.xml</configLocation>-->
193+
<!-- <consoleOutput>true</consoleOutput>-->
194+
<!-- <failsOnError>true</failsOnError>-->
195+
<!-- <linkXRef>false</linkXRef>-->
196+
<!-- <outputFile>target/checkstyle-result.xml</outputFile>-->
197+
<!-- <outputFileFormat>xml</outputFileFormat>-->
198+
<!-- </configuration>-->
199+
<!-- </plugin>-->
201200
</plugins>
202201
</build>
203202
</project>

0 commit comments

Comments
 (0)