You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Johannes Martin (JIRA)" <ji...@codehaus.org> on 2008/05/28 09:04:22 UTC

[jira] Created: (MRESOURCES-68) resources:resources overwrites filtered resources in target directory even if unchanged

resources:resources overwrites filtered resources in target directory even if unchanged
---------------------------------------------------------------------------------------

                 Key: MRESOURCES-68
                 URL: http://jira.codehaus.org/browse/MRESOURCES-68
             Project: Maven 2.x Resources Plugin
          Issue Type: Improvement
    Affects Versions: 2.2
         Environment: Linux, JDK 1.5
            Reporter: Johannes Martin


When processing filtered resources, resources:resources overwrites existing files in the target directory even if they are unchanged.

It would be helpful if the plugin would write to a temporary file, then compare the contents of old and new, and overwrite only if the contents have changed. That way, the jar plugin won't have to repackage the whole jar (assuming forced=false) and so on.

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

        

[jira] Closed: (MRESOURCES-68) resources:resources overwrites filtered resources in target directory even if unchanged

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRESOURCES-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MRESOURCES-68.
----------------------------------

    Resolution: Duplicate

> resources:resources overwrites filtered resources in target directory even if unchanged
> ---------------------------------------------------------------------------------------
>
>                 Key: MRESOURCES-68
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-68
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.2
>         Environment: Linux, JDK 1.5
>            Reporter: Johannes Martin
>
> When processing filtered resources, resources:resources overwrites existing files in the target directory even if they are unchanged.
> It would be helpful if the plugin would write to a temporary file, then compare the contents of old and new, and overwrite only if the contents have changed. That way, the jar plugin won't have to repackage the whole jar (assuming forced=false) and so on.

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