apache / apache/maven-shade-plugin

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

Open
#680 3 comments 0 reactions 0 assignees View on GitHub
bug priority:major
Dominant language
Java
Stars
188
Forks
103
Avg merge
16h 39m
Merged PRs (30d)
4

Description

**[Delany](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=delany)** opened **[MSHADE-483](https://issues.apache.org/jira/browse/MSHADE-483?redirect=false)** 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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the case with createDependencyReducedPom, promoteTransitiveDependencies, and keepDependenciesWithProvidedScope all enabled, then inspect the generated dependency-reduced POM. Done means a promoted compile-scope transitive dependency is written with its promoted scope rather than remaining in its original scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.