Disable running tests during build


/ Published in: Other
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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>

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.