Skip Unit Test
To skip the entire unit test, uses argument “-Dmaven.test.skip=true
“.$ mvn install -Dmaven.test.skip=true $ mvn package -Dmaven.test.skip=true
Or define
skipTests
in maven-surefire-plugin
.
pom.xml
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.12.4</version> <configuration> <skipTests>true</skipTests> </configuration> </plugin>
No comments:
Post a Comment