You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2012/02/16 15:23:03 UTC

[jira] (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=291916#comment-291916 ] 

Michael Osipov edited comment on MWAR-100 at 2/16/12 8:22 AM:
--------------------------------------------------------------

Cargo's Maven Plugin is, unfortunately, unusable. I was wondering why neither of my .xweb files from my project were applied. I checked the source: https://svn.apache.org/repos/asf/cocoon/tags/cocoon-2.2/cocoon-maven-plugin/cocoon-maven-plugin-1.0.0-M2/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java and the only call to the method xpatch passes new File[0], so nothing is applied. Only xweb files for dependencies are applied.
                
      was (Author: michael-o):
    Cargo's Maven Plugin is, unfortunately, unusable. I was wondering why neither of my .xweb files from my project were applied. I checked the [source|https://svn.apache.org/repos/asf/cocoon/tags/cocoon-2.2/cocoon-maven-plugin/cocoon-maven-plugin-1.0.0-M2/src/main/java/org/apache/cocoon/maven/deployer/AbstractDeployMojo.java] and the only call to the method xpatch passes new File[0], so nothing is applied. Only xweb files for dependencies are applied.
                  
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira