maven-shade-plugin icon indicating copy to clipboard operation
maven-shade-plugin copied to clipboard

[MSHADE-483] Promoted transitive dependencies remain in original scope

Open jira-importer opened this issue 10 months ago • 1 comments

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

jira-importer avatar Feb 03 '25 10:02 jira-importer

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.

jira-importer avatar Feb 06 '25 08:02 jira-importer