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


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to