[ http://jira.codehaus.org/browse/MWAR-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=269532#action_269532 ]
Maarten Billemont commented on MWAR-253: ---------------------------------------- The plugin provides the ability to overlay one WAR with another. Such an overlay implies that the latter WAR's classes function, at runtime, in the same classpath. The WAR plugin however fails to reflect this at compile-time. It does not set the compile-time classpath for the artifact according to what is needed to properly compile its classes, which would otherwise work fine at runtime thanks to the overlaying. In that sense, this is a bug with regards to the overlay functionality in the WAR plugin neglecting to reflect its effects at compile-time, as it does at run-time. > Inherit dependencies from a WAR type dependency when it is overlayed. > --------------------------------------------------------------------- > > Key: MWAR-253 > URL: http://jira.codehaus.org/browse/MWAR-253 > Project: Maven 2.x WAR Plugin > Issue Type: Bug > Affects Versions: 2.1.1 > Reporter: Maarten Billemont > > When WAR artifact B depends on WAR artifact A, and also defines an overlay of > A, B should inherit all A's dependencies. > This issue is related to MNG-1991, but can be resolved without much > discussion as it's unrelated to skinny WARs and such. > Classes in B are guaranteed to have runtime access to all A's declared > dependencies when A is an overlay of B. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira