You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sahoo <Sa...@Sun.COM> on 2007/11/21 06:25:09 UTC

How to pass different options to javac during compile and testCompile goals?

(I have not yet subscribed to users alias, so please copy a reply 
directly to me)

Hi,

I want to pass different options to maven-compiler-plugin during compile 
and testCompile goals. Let's say, I want to set source level as 1.4 for 
all my src/main/java code and set source level as 1.5 for my test 
sources. How do I do it?

Thanks,
Sahoo



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org