maven and Testcase processing - skipping Tests or skipp building test classes

The maven default attempts to compile and execute testcases from
src/test, but if you want to skip the tests you can do this with

mvn install -DskipTests=true

but this compiles the test classes in your project. If you also want to
skip the compilation of the test classes you have to use

mvn install -Dmaven.test.skip=true