[
https://jira.codehaus.org/browse/MASSEMBLY-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=356294#comment-356294
]
Kristian Rosenvold commented on MASSEMBLY-373:
----------------------------------------------
We could probably do this by just reversing the iteration order of the resource
entries added to the archiver (this would still give first-added precedence
within individual items but that should hardly be a problem)
> Support overriding a file found in successive fileSet/dependencySet/file
> entries
> --------------------------------------------------------------------------------
>
> Key: MASSEMBLY-373
> URL: https://jira.codehaus.org/browse/MASSEMBLY-373
> Project: Maven Assembly Plugin
> Issue Type: Improvement
> Affects Versions: 2.2-beta-3
> Reporter: John Casey
>
> currently, the default behavior is to skip successive files that collide with
> those already added to an archive. We have the ability to add all copies,
> which is next to useless, but we don't have the ability to overwrite previous
> copies with successive ones. This is a pretty complex change to
> plexus-archiver, so I'm branching this issue off from MASSEMBLY-285 to track
> it for the 2.2 release.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)