Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 13AAC98A7 for ; Thu, 16 Feb 2012 14:27:31 +0000 (UTC) Received: (qmail 15469 invoked by uid 500); 16 Feb 2012 14:27:30 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 15430 invoked by uid 500); 16 Feb 2012 14:27:30 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 15420 invoked by uid 99); 16 Feb 2012 14:27:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 14:27:30 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.24.159] (HELO codehaus01.managed.contegix.com) (63.246.24.159) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 14:27:23 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 11878B0657 for ; Thu, 16 Feb 2012 08:27:03 -0600 (CST) Date: Thu, 16 Feb 2012 08:27:03 -0600 (CST) From: "Michael Osipov (JIRA)" To: issues@maven.apache.org Message-ID: <795315439.38530.1329402423072.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> In-Reply-To: <126550.1178115266616.JavaMail.haus-jira@codehaus01.managed.contegix.com> Subject: [jira] (MWAR-100) War overlay with merged web.xml MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ 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:25 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. See https://issues.apache.org/jira/browse/COCOON-2084 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