You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Knut Vidar Siem (JIRA)" <ji...@codehaus.org> on 2011/08/31 13:18:32 UTC
[jira] Commented: (MWAR-100) War overlay with merged web.xml
[ https://jira.codehaus.org/browse/MWAR-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=277450#comment-277450 ]
Knut Vidar Siem commented on MWAR-100:
--------------------------------------
>From the [Cactus project page|http://jakarta.apache.org/cactus/]:
{quote}
2011/08/05 - Jakarta Cactus has been retired.
{quote}
I would like to see this issue resolved as well. Meanwhile, alternatives include:
* [Cargo Maven2 Plugin|http://cargo.codehaus.org/Maven2+plugin] - [Merging WAR files|http://cargo.codehaus.org/Merging+WAR+files]
* [XML Maven Plugin|http://mojo.codehaus.org/xml-maven-plugin/] - [XSL Transformation|http://mojo.codehaus.org/xml-maven-plugin/examples/transform-basic.html]
This thread from StackOverflow.com could also be of interest: [Maven: Customize web.xml of web-app project|http://stackoverflow.com/questions/3298763/maven-customize-web-xml-of-web-app-project]
> War overlay with merged web.xml
> -------------------------------
>
> Key: MWAR-100
> URL: https://jira.codehaus.org/browse/MWAR-100
> Project: Maven 2.x WAR Plugin
> Issue Type: Wish
> Components: overlay
> Affects Versions: 2.0
> Reporter: Anders Romin
> Attachments: merge-web.xml.xslt
>
>
> I'm looking for a way to use the war overlay feature and have the web.xml merged with the content of both the parent war and the child war.
> For example, we have two wars A and B, and B is depending on A using the overlay feature. Now, I'd like all filters, servlets etc that are configured in A to be available in the resulting war, as well as all filters, servlets etc from B. If the id attributes clash, then the objects from B should be used.
> Any ideas how this could be accomplished?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira