Good day to you, jp4,

The source code compilation is handled by the maven-compiler-plugin by
default. To compile just your test cases, you can do mvn
compiler:testCompile ( see [1] )

Cheers,
Franz

[1] http://maven.apache.org/plugins/maven-compiler-plugin/


jp4 wrote:
> 
> I would like to be able to compile my test cases without actually running
> them.  I use maven.test.skip=true but that seems to prevent not only the
> test execution but the test compilation.  Is there a way to compile
> without running test cases.  I would prefer not to mess with the pom
> files, but do it via the command line like -Dmaven.test.skip=true.
> 
> Thanks,
> 
> jp4
> 

-- 
View this message in context: 
http://www.nabble.com/Can-you-compile-test-cases-without-running-them-tf3016005s177.html#a8384262
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to