apache / apache/maven-shade-plugin

[MSHADE-250] Allow prefixing relocated classes

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

Description

**[David Phillips](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=electrum)** opened **[MSHADE-250](https://issues.apache.org/jira/browse/MSHADE-250?redirect=false)** and commented

I would like to prefix all of the relocated classes with a `$`. This prevents them from accidentally being used, imported by IDEs, etc. For example, `com.google.common.collect.ImmutableList` would become `guava.collect.$ImmutableList`.

---
No further details from [MSHADE-250](https://issues.apache.org/jira/browse/MSHADE-250?redirect=false)

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named in the issue. Start by locating the Maven Shade Plugin's relocation implementation and existing relocation tests, then determine how the requested prefix should be configured and applied. Done means relocated classes receive the `$` prefix without breaking relocation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
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.