This "compile tests but don't run" issue was covered just 2 weeks ago... Please search the archive before posting next time.
from jp4 <[EMAIL PROTECTED]> to users@maven.apache.org date Jan 15, 2007 11:34 AM subject Can you compile test cases without running them Wayne On 1/30/07, Bashar Abdul Jawad <[EMAIL PROTECTED]> wrote:
Try to add the compile plugin if it isn't there already: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> </plugin> Bashar -----Original Message----- From: Mark Hewett [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 30, 2007 4:13 PM To: Maven Users List Subject: Re: Skipping Tests but Still Compiling On 1/30/07, Bashar Abdul Jawad <[EMAIL PROTECTED]> wrote: > That is not true. Maven will still compile the test classes, but only if > they have changed since the last compilation. To force maven to compile even > if there were no changes run a clean first. > > Bashar > Doesn't seem to for me... >mvn -Dmaven.test.skip=true clean install <lines deleted> [INFO] [compiler:testCompile] [INFO] Not compiling test sources [INFO] [surefire:test] [INFO] Tests are skipped. <lines deleted> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]