The war:war-resources goal should use filter when copying the resources -----------------------------------------------------------------------
Key: MPWAR-46 URL: http://jira.codehaus.org/browse/MPWAR-46 Project: maven-war-plugin Type: Bug Versions: 1.6 Reporter: Raphaël Piéroni The war:war-resources goal don not use the ant filter whern copying the resources to the target directory. here is the replacement goal as modified for using the filtering. I only added the (filtering="on") on the two ant:copy tags. <goal name="war:war-resources" prereqs="war:init" description="Copy webapp resources to target directory"> <ant:mkdir dir="${maven.war.webapp.dir}"/> <j:set var="webapp.build.webinf" value="${maven.war.webapp.dir}/WEB-INF"/> <ant:mkdir dir="${webapp.build.webinf}"/> <j:if test="${webSourcesPresent == 'true'}"> <ant:copy todir="${maven.war.webapp.dir}" filtering="on" preservelastmodified="true"> <ant:fileset dir="${maven.war.src}" includes="${maven.war.src.includes}" excludes="${maven.war.src.excludes}"> </ant:fileset> </ant:copy> </j:if> <util:available file="${maven.war.webxml}"> <ant:copy file="${maven.war.webxml}" filtering="on" tofile="${webapp.build.webinf}/web.xml" overwrite="true" /> </util:available> </goal> -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]