maven报错:
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project mp: There are test failures.
Please refer to /Users/zpq/work/code/mp/target/surefire-reports for the individual test results.
解决方法:
pom.xml的build中的plugins中加入plugin:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.2</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
如下: