[ http://jira.codehaus.org/browse/MPWAR-49?page=all ]
     
Stephane Nicoll resolved MPWAR-49:
----------------------------------

    Resolution: Fixed

Added property {{maven.war.resources.overwrite}} to control is resources 
overwrites the ones in the generated webapp directory.

Default to true.

> 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

Reply via email to