How to disable tests during build?

IntelliJ IDEA 11.0:


You can also define the property on the command line that you execute Maven from:
mvn -Dmaven.test.skip=true release

It might be better to use -Dmaven.test.skip.exec=true because otherwise the test-jar is not being built.

Or add <maven.test.skip>true</maven.test.skip> to .m2/conf/settings.xml active profile.