Powered by Syntax Highlighter scripts!

Maven Skip tests from build execution

Its a common scenario not to execute jUnit Test cases when we want to do only build the project.
-Dmaven.test.skip=true  this parameter can be used for this purpose skip executing of test cases.

Example:
mvn clean install -Dmaven.test.skip=true

Detailed information can be found at link:

http://maven.apache.org/plugins/maven-surefire-plugin/examples/skipping-test.html