Loading...

February 13, 2009

Skip tests with Maven

Sometimes we just don't want to run the test of our projects. We can easily bypass the test with Maven. We must use the system property skipTests and that is it. So if we invoke

mvn install -DskipTests=true
then the testing phase will be skipped.