You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ronald Sigmund (JIRA)" <ji...@codehaus.org> on 2011/08/24 15:08:32 UTC

[jira] Updated: (MASSEMBLY-474) Assembly is duplicating dependecies in the output

     [ https://jira.codehaus.org/browse/MASSEMBLY-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ronald Sigmund updated MASSEMBLY-474:
-------------------------------------

    Attachment: assembly-test-mulit-project.zip

unzip file and run mvn

tested with maven 3.0.3

with plugin version 2.2.1 the build will failed.

I would expect that the build is SUCCESS.

See enforcer messages in buildlog.


> Assembly is duplicating dependecies in the output 
> --------------------------------------------------
>
>                 Key: MASSEMBLY-474
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-474
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Andrew Rampulla
>         Attachments: assembly-test-mulit-project.zip
>
>
> When I have an assembly descriptor that contains 2 modules that both have the same dependencies, those dependencies are duplicated instead of skipped/overwritten in the target zip file.  This is very similiar to MASSEMBLY-285, but is a problem on the dependencies and not the modules themselves.  This is only a problem when
>     <moduleSet>
>       <includes>
>         <include>aaa:aaaa</include>
>         <include>aaa:bbbb</include>
>       </includes>
>       <binaries>
>         <includeDependencies>true</includeDependencies>
>         <unpack>false</unpack>
>         <outputDirectory>lib</outputDirectory>
>       </binaries>
>     </moduleSet>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira