Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 37124 invoked from network); 1 May 2007 08:33:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 May 2007 08:33:50 -0000 Received: (qmail 68459 invoked by uid 500); 1 May 2007 08:33:56 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 68302 invoked by uid 500); 1 May 2007 08:33:56 -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 68291 invoked by uid 99); 1 May 2007 08:33:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2007 01:33:56 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2007 01:33:47 -0700 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id A1DF914A803B for ; Tue, 1 May 2007 03:33:26 -0500 (CDT) Message-ID: <22410535.1178008406660.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Tue, 1 May 2007 03:33:26 -0500 (CDT) From: "Stephane Nicoll (JIRA)" To: issues@maven.apache.org Subject: [jira] Commented: (MPWAR-65) Problems with maven.war.property.expansion In-Reply-To: <45362494.1156944468379.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/MPWAR-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94672 ] Stephane Nicoll commented on MPWAR-65: -------------------------------------- For the first part it's not that easy since the filter is applied to the whole copy operation. We might need two copy operation then. > Problems with maven.war.property.expansion > ------------------------------------------ > > Key: MPWAR-65 > URL: http://jira.codehaus.org/browse/MPWAR-65 > Project: maven-war-plugin > Issue Type: Bug > Affects Versions: 1.6.2 > Reporter: Caleb Lyness > Assignee: Stephane Nicoll > Fix For: 1.6.3 > > > When you use the maven.war.property.expansion=true, all resources in your webapps folder are all modified. This is fine, but some binary files (for example image) are broken in the process. I would propose that 2 variable are added, apon which the filter set can be further specified. > maven.war.property.expansion.includes > maven.war.property.expansion.excludes > In this way specific files may have the expansion applied to them or avoid any meddling. > Also, note that the special treatment of web.xml conflicts with the maven.war.property.expansion. > The web.xml is copied and filtered during the main copy step (including expansion). Then later > it is copied again, without expansion, overwritting the original file. This can be worked around by > setting maven.war.webxml=nonexistentfile or by having maven.war.webxml.overwrite=false > The expansion code should be added to the second stage as well. -- 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