apache / apache/maven-shade-plugin

[MSHADE-388] Relocation in default package

Open
#392 1 comment 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

**[Nico Mexis](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hyperspeeed)** opened **[MSHADE-388](https://issues.apache.org/jira/browse/MSHADE-388?redirect=false)** and commented

The following attempt:
https://pastebin.com/fAbrPfS9
results in a jar file, which doesn't meet the standards.

I have tried different patterns already, but couldn't figure out any way of relocation specific packages into the default package. This seems like a bug.

---

**Affects:** 3.2.4

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked Pastebin attempt and the Maven Shade Plugin's relocation behavior, then reproduce the reported JAR output. Compare it with the stated standards and determine whether relocating specific packages into the default package is supported; the issue is resolved when the resulting JAR meets those standards or the limitation is clearly established.

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
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.