Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project conan-newbie-server: There are test failures.
这两天在install项目是老是遇见上面这个问题:
这里报错Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project conan-newbie-server: There are test failures.
在上一级:
Tests in error:
xxxxxError: >> No runnable methods
网上搜索后找到一个可以解决我的问题的方法:
在pom文件中加入插件:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
成功的解决了我的问题,但是我不明白原理,有没有大佬可以解释一下