You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Bl...@ubs.com on 2007/11/20 18:08:06 UTC

war overlays and compiler classpath

I've configured an app-war to depend on overlay-war, and app-war lists
overlay-war as an overlay in the maven-war-plugin configuration.  On top
of that, the classes in app-war depend on the classes in overlay-war for
compilation, but being a type 'war', they don't seem to end up in the
classpath when app-war compiles.

I've tried adding the target/classes directory of overlay-war to
app-war's <configuration><classpath></classpath></configuration> block
for maven-compiler-plugin, but this did not do the trick.  I'd like the
class files from overlay-war to be copied into app-war _and_ be
compile-time dependency.  Is this possible (without breaking
overlay-war's java source as a separate type 'jar' pom)?

Thanks in advance,
Blue

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.


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