Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.1
-
Fix Version/s: 2.0.5
-
Component/s: None
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
If you specify ANY dependency excludes, all dependencies after that one in the pom will also exclude what you specified. They appear to be cumulative on every dependency in that they bleed over into sibling dependencies.
It's easy to test if you add an exclusion to a random dependency. This exclusion should exclude a required transitive dependency that is included by a dependency lower in the list. You will find that the dependency lower in the list no longer includes the required dependency because it is using the filter you declared in the other dependency.
Attachments
Issue Links
| This issue is duplicated by: | ||||
| MNG-2032 | Bug in dependency exclusions processing (ArtifactFilter's) |
|
|
|
| MNG-1557 | Dependency Ignored |
|
|
|
| MNG-2326 | exclusion of transitive dependency is too dominant |
|
|
|
| MNG-2354 | exclusion of a dependency prevents the dependency being added normally |
|
|
|
| MNG-2420 | exclusion on dependency seems to act global on POM |
|
|
|
| This issue relates to: | ||||
| MNG-4180 | [regression] Dependency exclusions are applied globally |
|
|
|
| This issue is related to: | ||||
| MANTTASKS-134 | Exclusions in dependencies should not exclude a direct dependency |
|
|
|
| MNG-1977 | Global dependency exclusions |
|
|
|
An exclusion also seems to prevent a direct dependency from being honored.