Is there a simple way to not build the test classes?
mvn clean install -Dmaven.test.skip=true
Run a phase that doesn't include test-compile, for example compile.
test-compile
compile
mvn clean compile