[
https://issues.apache.org/jira/browse/MSHADE-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17924422#comment-17924422
]
Delany commented on MSHADE-483:
-------------------------------
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.
> Promoted transitive dependencies remain in original scope
> ---------------------------------------------------------
>
> Key: MSHADE-483
> URL: https://issues.apache.org/jira/browse/MSHADE-483
> Project: Maven Shade Plugin
> Issue Type: Bug
> Affects Versions: 3.6.0
> Reporter: Delany
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)