apache / apache/maven-shade-plugin

[MSHADE-442] CreateSourceJar does not contain non-relocated sources

Open
#712 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

**[Zili Chen](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=tison)** opened **[MSHADE-442](https://issues.apache.org/jira/browse/MSHADE-442?redirect=false)** and commented

See https://github.com/apache/pulsar/pull/19956.

After configure createSourcesJar and shadeSourcesContent to true, the produced source jar contains only relocated sources (org.asynchttpclient, etc.), not other non-relocated sources (pulsar-client-original, etc.)

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the CreateSourceJar source-jar path and reproduce the issue with createSourcesJar and shadeSourcesContent enabled. Compare the produced jar with the expected relocated and non-relocated sources; done means both are present, including pulsar-client-original sources, without losing the relocated entries.

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
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.