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
- 下一篇: Maven快速创建SpringMVC w