Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test)
生活随笔
收集整理的这篇文章主要介绍了
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test)
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
这是因为测试代码时遇到错误,它会停止编译。只需要在pom.xml的<project>里添加以下配置,使得测试出错不影响项目的编译。
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
</plugins>
</build>
我的这样解决的
原文链接:
https://zhidao.baidu.com/question/936928720312512852.html
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
</plugins>
</build>
我的这样解决的
原文链接:
https://zhidao.baidu.com/question/936928720312512852.html
转载于:https://www.cnblogs.com/yanyunliu/p/8604854.html
《新程序员》:云原生和全面数字化实践50位技术专家共同创作,文字、视频、音频交互阅读总结
以上是生活随笔为你收集整理的Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test)的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: Eclipse Source not f
- 下一篇: 【组合取补集】数三角形 @CQOI201