当前位置: 代码迷 >> 综合 >> mvn Failed during checkstyle execution: There are errors reported by Checkstyle 6.2
  详细解决方案

mvn Failed during checkstyle execution: There are errors reported by Checkstyle 6.2

热度:1   发布时间:2023-12-11 17:42:29.0

具体错误:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.16:check (validate) on project teavm-samples-benchmark: Failed during checkstyle execution: There are 716134 errors reported by Checkstyle 6.2 with ../../checkstyle.xml ruleset. -> [Help 1]

解决办法:

增加-Dcheckstyle.skip,如:

mvn \-DskipTests \-Dcheckstyle.skip \clean \install

 

  相关解决方案