maven-shade-plugin
maven-shade-plugin copied to clipboard
[MSHADE-483] Promoted transitive dependencies remain in original scope
Delany opened MSHADE-483 and commented
When these parameters are true
- createDependencyReducedPom
- promoteTransitiveDependencies
- keepDependenciesWithProvidedScope
a compile-scope transitive dependency that was promoted will be added to the dependency reduced pom, but it remains in its original scope.
Affects: 3.6.0
Delany commented
It seems like keepDependenciesWithProvidedScope is operating on the dependencies defined in artifactSet only. But when promoteTransitiveDependencies is true artifactSet becomes a set of trees of dependencies not just a set of dependencies.