Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Auto Closed
-
2.2-beta-5
-
None
-
None
Description
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
<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>
C isn't in the result directory.
Remark: C is in the result directory if D depends on A normally.
Attachments
Attachments
Issue Links
- depends upon
-
MNG-4831 artifact.getDependencyTrail() doesn't include full information; causes problems filtering artifacts by transitive dependency trail
- Closed
- is duplicated by
-
MASSEMBLY-401 Exclude with useTransitiveFiltering is excluding transitive artifacts which have ancestors in both include and exclude condition
- Closed