One is to the use maven.test.skip.exec parameter:
mvn ... -Dmaven.test.skip.exec=true
This is really hard to remember and it is even deprecated; so I suggest you the following:
mvn ... -DskipTests
My blog has moved!
You will be automatically redirected to the new address. If that does not occur, visit
http://utku-utkan.appspot.com/
and update your bookmarks.
Just another Blogger blog