[ http://jira.codehaus.org/browse/MPWAR-34?page=all ] Stephane Nicoll resolved MPWAR-34: ----------------------------------
Resolution: Duplicate Duplicate and fixed in 1.6.2 > parameterise overwrite of web.xml in war:war-resources > ------------------------------------------------------ > > Key: MPWAR-34 > URL: http://jira.codehaus.org/browse/MPWAR-34 > Project: maven-war-plugin > Type: Improvement > Versions: 1.0 > Reporter: Nathan Coast > Priority: Minor > > Original Estimate: 5 minutes > Remaining: 5 minutes > > We have a plugin that modifies the web.xml, as an optimisation we don't have > to perform this modification on every build. However, the war:war-resources > forces the copy of the web.xml file, so our plugin has to modify the web.xml > every time. > <util:available file="${maven.war.webxml}"> > <ant:copy file="${maven.war.webxml}" > tofile="${webapp.build.webinf}/web.xml" > overwrite="true" /> > </util:available> > how about parameterise? with default true. > <util:available file="${maven.war.webxml}"> > <ant:copy file="${maven.war.webxml}" > tofile="${webapp.build.webinf}/web.xml" > overwrite="${war.web.xml.overwrite}" /> > </util:available> > I can make patches if needed. [EMAIL PROTECTED] -- 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