When fulfilling a goal that will include a testing phase (for example, a package), you can do two things:
- Use the
mvn -DskipTests=true package command. This will compile everything but not run them. - Or
mvn -Dmaven.test.skip=true package . This will not compile or run the test branch.
Martins May 19 '13 at 9:25 a.m. 2013-05-19 09:25
source share