maven 打包 出现 Please refer to XXXX for the individual test results

 

曾令胜 2020-08-21 08:08:12 2329 收藏 1
版权
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.
1
2
3
2、解决办法
添加忽略测试失败配置

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
————————————————
版权声明:本文为CSDN博主「曾令胜」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_21190847/article/details/108139421

posted @ 2022-01-17 17:34  ArielMeng  阅读(2671)  评论(0编辑  收藏  举报