I've now got a webapp that uses the maven-war-plugin overlay
mechanism. It runs fine with :run-war, but not with :run.

I think I know why, and I don't know if it's reasonable to make it work.

The overlay dependency has, itself, no dependencies. I took not-maven
war file and pushed it into my repo with type=war. It works fine as an
overlay; all of its WEB-INF/lib ends up in the eventual WEB-INF/lib.
But it's not surprising that it's opaque to the 'dynamic' classpath.

Should I nonetheless submit a JIRA? The tomcat plugin could, in
theory, organize WEB-INF/lib/*.jar into the classpath.

Meanwhile, does addContextWarDependencies know enough to skip
overlays? It doesn't make sense to launch a 'dependency of type war'
as a separate webapp if it is an overlay?

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to