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

具体错误:

[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
目录
相关文章
bug:The following dependencies are imported but could not be resolved lib-flexibleflexible
bug:The following dependencies are imported but could not be resolved lib-flexibleflexible
1067 0
解决 This is probably not a problem with npm. There is likely additional logging output above.
解决 This is probably not a problem with npm. There is likely additional logging output above.
405 1
|
Java Maven
Maven报错 Error running ‘ [install]‘:No valid Maven installation found.maven不能用
Maven报错 Error running ‘ [install]‘:No valid Maven installation found.maven不能用
860 0
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
143 0
|
Java Maven
maven teavm-idea-artifacts: Command execution failed.: Process exited with an error: 1 Exit value: 1
maven teavm-idea-artifacts: Command execution failed.: Process exited with an error: 1 Exit value: 1
400 0
编译x264出现错误:No working C compiler found.
编译x264出现错误:No working C compiler found.
338 0
|
Java Maven Android开发
Maven异常_06_ Unknown lifecycle phase "mvn"
一、异常现象 在eclipse中执行以下maven命令 时, mvn spring-boot:run 报出如下错误: Unknown lifecycle phase "mvn"   二、异常原因 当我们在eclipse中执行maven命令时,不需要加mvn;   三、解决方法 项目名右键 - > Run as - > maven build.
2894 0
|
Java Maven Android开发
eclipse新建maven项目:'Building' has encountered a problem. Errors occurred during the build.
eclipse新建maven项目:'Building' has encountered a problem. Errors occurred during the build.
865 0
eclipse新建maven项目:'Building' has encountered a problem. Errors occurred during the build.
Unknown lifecycle phase mvn
Unknown lifecycle phase mvn
382 0
|
Java Maven
Failed during checkstyle execution: Unable to find suppressions file at location: src/checkstyle/checkstyle-suppressions.xml
org.springframework.boot spring-boot-starter-parent 1.3.6.RELEASE   springboot的parent节点配置错误,则会报下面的错   ...
3488 0