[ http://jira.codehaus.org/browse/MPWAR-49?page=all ]
Lukas Theussl updated MPWAR-49: ------------------------------- Assign To: Stephane Nicoll Fix Version: 1.6.2 > war:war-resources should add overwrite=true (or configurable) flag to > ant:copy task > ----------------------------------------------------------------------------------- > > Key: MPWAR-49 > URL: http://jira.codehaus.org/browse/MPWAR-49 > Project: maven-war-plugin > Type: Improvement > Versions: 1.6 > Reporter: Steven Dehandtschutter > Assignee: Stephane Nicoll > Fix For: 1.6.2 > > > The default behavior of ant:copy is to *not* overwrite files if an newer file > exists. However, when war dependencies are included and merged (see > MPWAR-41), this means that resources of this project might be overriden by > resources from an included war file (which is counterintuitive: project > resources should override all included files if they overlap) > The line to change is > <ant:copy todir="${maven.war.webapp.dir}" preservelastmodified="true" > overwrite="true"> > -- 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