引用
If you absolutely must, you can also use the maven.test.skip property to skip compiling the tests. maven.test.skip is honored by Surefire, Failsafe and the Compiler Plugin.
有时候我们需要编译test类,但是不执行test,可以使用skipTests
http://jira.codehaus.org/browse/MJAR-138