You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andrew Rampulla (JIRA)" <ji...@codehaus.org> on 2010/02/22 17:32:56 UTC

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

Assembly is duplicating dependecies in the output 
--------------------------------------------------

                 Key: MASSEMBLY-474
                 URL: http://jira.codehaus.org/browse/MASSEMBLY-474
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    Affects Versions: 2.2
            Reporter: Andrew Rampulla


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.
-
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

        

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

Posted by "Ronald Sigmund (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MASSEMBLY-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MASSEMBLY-474:
--------------------------------------

    Component/s: moduleSet
    Description: 
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

{code:xml}
    <moduleSet>
      <includes>
        <include>aaa:aaaa</include>
        <include>aaa:bbbb</include>
      </includes>
      <binaries>
        <includeDependencies>true</includeDependencies>
        <unpack>false</unpack>
        <outputDirectory>lib</outputDirectory>
      </binaries>
    </moduleSet>
{code}


  was:
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>


    
> 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
>          Components: moduleSet
>    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
> {code:xml}
>     <moduleSet>
>       <includes>
>         <include>aaa:aaaa</include>
>         <include>aaa:bbbb</include>
>       </includes>
>       <binaries>
>         <includeDependencies>true</includeDependencies>
>         <unpack>false</unpack>
>         <outputDirectory>lib</outputDirectory>
>       </binaries>
>     </moduleSet>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira