1、maven 打包的时候错误提示
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project XXXX: There are test failures.
Please refer to D:\Others\XXXX\target\surefire-reports for the individual test results.
2、解决办法
在pom.xml中添加忽略测试失败配置
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
更多推荐
maven 打包 出现 Please refer to XXXX for the individual test results
发布评论