maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michiel Meeuwissen (JIRA)" <>
Subject [jira] Updated: (MWAR-100) War overlay with merged web.xml
Date Mon, 16 Aug 2010 06:51:32 GMT


Michiel Meeuwissen updated MWAR-100:

    Attachment: merge-web.xml.xslt

In an ant-build I used to simply merge 2 web.xml's using an XSLT. This may not be flexible
enough in every situation, but at least it would be simple to implement.

> War overlay with merged web.xml
> -------------------------------
>                 Key: MWAR-100
>                 URL:
>             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.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message