使用maven来build报错maven Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:

使用maven来build报错maven Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:

【[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project web_nanchang: There are test failures.】

解决方法:

使用插件,在相应pom.xml文件里面,修改/添加

   

       

            org.apache.maven.plugins

            maven-surefire-plugin

           

                true

           

       

   

 

添加了绿色配置部分,成功。

你可能感兴趣的:(淘淘)