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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM