本文主要是介绍解决target\surefire-reports for the individual test results 问题,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
解决target\surefire-reports for the individual test results 问题:
idea reload maven 项目时:
报了如下错:
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project Ivqip-server: There are test failures.
我们只需要在pom.xml文件里加入:
<build><plugins><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId><configuration><testFailureIgnore>true</testFailureIgnore></configuration></plugin></plugins></build>
然后重新build一下就可以了
这篇关于解决target\surefire-reports for the individual test results 问题的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!