Posted By

arunpjohny on 02/07/08


Tagged

maven


Versions (?)

Disable running tests during build


 / Published in: Other
 

URL: http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html

Property skip will skip both compilation and execution of tests. Property skipTests will compile tests but will skip executing them

  1. /* Add the below propety to .m2/conf/settings.xml in the active profile */
  2. <maven.test.skip>true</maven.test.skip>
  3.  
  4. of
  5.  
  6. /* Add the following property property to the maven-surefire-plugin plugin in the pom.xml*/
  7. <skip>true</skip>

Report this snippet  

You need to login to post a comment.