maven 跳过单元测试

This commit is contained in:
shuzheng 2016-10-24 11:10:56 +08:00
parent e303cf6d93
commit 395d2c220c
1 changed files with 13 additions and 0 deletions

View File

@ -53,5 +53,18 @@
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<!--是否跳过单元测试-->
<skipTests>true</skipTests>
<!--是否忽略单元测试错误-->
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
</plugins>
</build>
</project>