apache / apache/maven-shade-plugin

[MSHADE-317] Source package name parse error

Open
#318 2 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

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

```java
If shadedPattern full contains pattern, package name gos wrong. Such as:
```

```java
//代码占位符


org.objectweb.asm
com.alibaba.arthas.deps.org.objectweb.asm

```

!image-2019-04-13-17-58-43-081.png!

---

**Affects:** 3.2.1

**Attachments:**
- [image-2019-04-13-17-58-43-081.png](https://issues.apache.org/jira/secure/attachment/12965804/image-2019-04-13-17-58-43-081.png) (_99.72 kB_)
- [shade-issue-MSHADE-317.zip](https://issues.apache.org/jira/secure/attachment/13018360/shade-issue-MSHADE-317.zip) (_22.04 kB_)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the package-name parsing error using the attached shade-issue-MSHADE-317.zip and the relocation configuration in the report. Trace how the shadedPattern containing the original pattern is parsed, then verify that the generated shaded package name matches the configured com.alibaba.arthas.deps.org.objectweb.asm prefix.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.