将checkstylegoogle_checks.xml与maven-checkstyle-plugin一起使用时出错

将checkstylegoogle_checks.xml与maven-checkstyle-plugin一起使用时出错,第1张

将checkstyle / google_checks.xml与maven-checkstyle-plugin一起使用时出错

通过将checkstyle-
dependency手动更新为最新的稳定版本来解决此问题:

        <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.13</version> <dependencies>     <dependency>         <groupId>com.puppycrawl.tools</groupId>         <artifactId>checkstyle</artifactId>         <version>${checkstyle.latest.version}</version>     </dependency> </dependencies> <configuration>     <configLocation>${checkstyle.file.path}</configLocation>     <failOnViolation>false</failOnViolation> </configuration>        </plugin>


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/5055856.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-11-16
下一篇2022-11-15

发表评论

登录后才能评论

评论列表(0条)

    保存