File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change 173173 <target >17</target > <!-- 生成字节码的 Java 版本 -->
174174 </configuration >
175175 </plugin >
176-
177- <!-- 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 >
201176 </plugins >
202177 </build >
203178</project >
You can’t perform that action at this time.
0 commit comments