apache / apache/maven-shade-plugin

[MSHADE-456] test-jar dependencies remain in POM after being shaded

Open
#669 0 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

**[Nick Tindall](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=JIRAUSER301869)** opened **[MSHADE-456](https://issues.apache.org/jira/browse/MSHADE-456?redirect=false)** and commented

When a shaded POM includes a **test-jar** dependency, it remains in the dependency-reduced POM despite being included in the uber-jar

Minimal reproduction is available [here](https://github.com/nicktindall/shade-plugin-test-jar-issue)

---

**Affects:** 3.5.0

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the minimal reproduction linked in the issue and inspect how the shade plugin handles test-jar dependencies when generating the dependency-reduced POM. Done means a test-jar dependency included in the uber-jar no longer remains in that POM.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.