You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Graham Zabel (JIRA)" <ji...@codehaus.org> on 2009/10/29 15:33:27 UTC
[jira] Commented: (MASSEMBLY-285) regression: duplicate files added
to the assembly
[ http://jira.codehaus.org/browse/MASSEMBLY-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=196535#action_196535 ]
Graham Zabel commented on MASSEMBLY-285:
----------------------------------------
Is this fixed yet? I've still having the duplicate files issue with the default version of the plugin. With 2.2-beta-3 and 2.2-beta-4, there are no duplicates, but NO module dependencies are included, even using <includeDependencies>true</includeDependencies>.
Also, 'overwrite' is not a valid duplicate-file behavior:
[INFO] Failed to create assembly: Error creating assembly archive test-zip:
Failed to configure archiver: org.codehaus.plexus.archiver.zip.ZipArchiver
Invalid duplicate-file behavior: 'overwrite'. Please specify one of: [skip, add,
preserve, fail]
> regression: duplicate files added to the assembly
> -------------------------------------------------
>
> Key: MASSEMBLY-285
> URL: http://jira.codehaus.org/browse/MASSEMBLY-285
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.2-beta-1
> Reporter: Brett Porter
> Assignee: John Casey
> Priority: Blocker
> Fix For: 2.2-beta-3
>
>
> I found that it was possible to add a file twice to the assembly through different filesets (a zip file) so that when it extracted it prompted for overwrite.
> It should error out or collapse the entries (as 2.1 did).
--
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