Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.1
-
None
-
None
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
Attachments
Issue Links
- is duplicated by
-
MNG-1557 Dependency Ignored
- Closed
-
MNG-2032 Bug in dependency exclusions processing (ArtifactFilter's)
- Closed
-
MNG-2326 exclusion of transitive dependency is too dominant
- Closed
-
MNG-2354 exclusion of a dependency prevents the dependency being added normally
- Closed
-
MNG-2420 exclusion on dependency seems to act global on POM
- Closed
- is related to
-
MANTTASKS-134 Exclusions in dependencies should not exclude a direct dependency
- Closed
-
MNG-1977 Global dependency exclusions
- Reopened
- relates to
-
MNG-4180 [regression] Dependency exclusions are applied globally
- Closed