[
http://jira.codehaus.org/browse/MRESOURCES-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olivier Lamy closed MRESOURCES-21.
----------------------------------
Resolution: Fixed
fixed in rev 695036.
There is now a flag called overwrite in the mojo and is false by default (you
have to change it manually to true)
IMHO this flag can be added in the Resource class but it's an other story :-)
> when pom specifies multiple resource directories, the directories should be
> copied in the order they are in the pom
> -------------------------------------------------------------------------------------------------------------------
>
> Key: MRESOURCES-21
> URL: http://jira.codehaus.org/browse/MRESOURCES-21
> Project: Maven 2.x Resources Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Ian Springer
> Assignee: Olivier Lamy
> Fix For: 2.3
>
>
> It should be possible to control the order in which resource directories are
> copied to target/classes, since multiple resource dirs could potentially
> contain files with the same names. The intutive thing would be to copy the
> resource directories in the order they are specified in the POM (i.e. last
> one wins). However, it appears the resources are currently copied in reverse
> order (i.e. first one wins).
--
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