lunedì, marzo 23, 2009

skip maven test

In order to skip the test you have to add the parameter -Dmaven.test.skip=true when you run the mvn from command line.


$ mvn -Dmaven.test.skip=true clean install


Do not forget to add the clean goal before install, otherwise the test will be executed anyway
It seems to be a strange behaviour of maven.