Is there a way in Maven to compile the tests without running them ? I want to use the IDE to run specific tests and not all of them.
How about the test-compile lifecycle phase? It doesn't require any test skipping, because it occurs before the test phase. I.e.,
test-compile
test
$ mvn test-compile
And done.
Introduction to the Build Lifecycle explains further.