mvn clean install skip test

Shell
mvn clean install -Dmaven.test.skip=true
Source

Also in Shell: