I just ran mvn clean install -Dtest=foo where foo is not a valid test and
this seems to do what I want.  If anyone has a cleaner way, please let me
know.


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#a8375759
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