I am not sure if I understand what you want.

You have src/main/java vs src/test/java 
And src/main/resources/ vs src/test/resources

Likevise output target/classes (main) vs target/test-classes

Is this not what you want? You want to change these to something else?
In that case check
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html,
http://maven.apache.org/plugins/maven-compiler-plugin/testCompile-mojo.h
tml. Change compileSourceRoots  and outputDirectory to satisfy your
needs.

-Ronny  

-----Opprinnelig melding-----
Fra: Brian E. Fox [mailto:[EMAIL PROTECTED] 
Sendt: 4. oktober 2006 00:36
Til: Maven Users List
Emne: Can Testcompile and compile have different target/source
configurations?

I need to set a different source/target configuration for testcompile
and compile. They are separate goals, but it's not apparently possible
to set goal specific configuration without another execution. Is there
some way to do this?


!DSPAM:4522e603144722988016950!

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

Reply via email to