You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2008/10/14 23:27:51 UTC

[jira] Closed: (MRESOURCES-43) resources:resources overwrites destination files when filtering is on, not when filtering is off

     [ http://jira.codehaus.org/browse/MRESOURCES-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MRESOURCES-43.
----------------------------------

    Resolution: Fixed

IMHO fixed with MRESOURCES-21.
If you have any trouble please reopen the issue.

> resources:resources overwrites destination files when filtering is on, not when filtering is off
> ------------------------------------------------------------------------------------------------
>
>                 Key: MRESOURCES-43
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-43
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: Linux
>            Reporter: Roar Lauritzsen
>            Assignee: Olivier Lamy
>             Fix For: 2.3
>
>
> It is not possible to specify that resources:resources should overwrite destination files or not if they already exist.
> However, the behavior should at the very least be predictable so that one can achieve the desired result through phase ordering or ant scripts.
> As it is today, when filtering is turned on, destination files are overwritten. When filtering is off, destination files are not overwritten.
> If not selectable, the most practical solution would be to always overwrite (I believe).

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