Ability to overwrite existing files regardless of timestamp
-----------------------------------------------------------

                 Key: MASSEMBLY-292
                 URL: http://jira.codehaus.org/browse/MASSEMBLY-292
             Project: Maven 2.x Assembly Plugin
          Issue Type: Improvement
    Affects Versions: 2.2-beta-2
            Reporter: Herbert Hui


Request to have an attribute in assembly descriptor that will overwrite 
existing files regardless of timestamp if set to true. Current behavior 
overwrites existing file only if existing file has an older date modified 
timestamp. Only workaround I'm aware of is to not use the assembly plugin and 
use ant copy task through the maven ant plugin.

Example (overwrite attribute in fileset):

<assembly>
  <id>assemble-data</id>
  <fileSets>
    <fileSet>
      <directory>seed</directory>
      <overwrite>true</overwrite>
      <outputDirectory>../../dist/data/seed</outputDirectory>
    </fileSet>
  </fileSets>
</assembly>

-- 
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