You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/01/12 21:12:43 UTC

[jira] [Closed] (MASSEMBLY-504) Transitive dependencies missing when two deps rely on them, but one of the deps is excluded

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

Michael Osipov closed MASSEMBLY-504.
------------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still persists, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.

> Transitive dependencies missing when two deps rely on them, but one of the deps is excluded
> -------------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-504
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-504
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>          Components: dependencySet
>    Affects Versions: 2.2-beta-5
>            Reporter: Guillaume Eyroulet
>         Attachments: maven-assembly-example.zip
>
>
> *NOTE:* This will only happen in very specific cases! See comments and linked issue.
> In a reactor, there are 4 modules A, B, C and D.
>  * A and B depends on C
>  * D depends 
>  ** on B
>  ** on A due to a profile.
> When making an assembly from D
>  * including A 
>  * excluding B
>  * using transitive dependencies
> {noformat}
>   <formats>
>     <format>dir</format>
>   </formats>
>   <includeBaseDirectory>false</includeBaseDirectory>  
>   <dependencySets>
>     <dependencySet>
>       <useTransitiveDependencies>true</useTransitiveDependencies>
>       <useTransitiveFiltering>true</useTransitiveFiltering>
>       <includes>
>         <include>example:a</include>
>       </includes>
>       <excludes>
>       	<exclude>example:b</exclude>
>       </excludes>
>     </dependencySet>
>   </dependencySets>
> </assembly>
> {noformat}
> C isn't in the result directory.
> Remark: C is in the result directory if D depends on A normally.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)