[
http://jira.codehaus.org/browse/MRESOURCES-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=148834#action_148834
]
Olivier Lamy commented on MRESOURCES-43:
----------------------------------------
Can you provide a simple test case ?
I think MRESOURCES-21 should fix that. Can you check with trunk or 2.3-SNAPSHOT
?
Thanks
> 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