apache / apache/maven-shade-plugin

[MSHADE-480] Rebuild problem - old shaded artifact is shaded again

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

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

When we rebuild project old shaded artifact is used.
m-jar-p doesn't rebuild a jar and shade plugin try shade again already

as workaround we can add

```


${project.groupId}:${project.artifactId}

```

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the rebuild with m-jar-p and the Maven Shade Plugin, checking whether the old shaded artifact is reused. Compare the behavior with the shown artifactSet exclusion workaround; done means a rebuild does not shade an already shaded artifact, with a regression test or clearly documented reproduction.

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.