apache / apache/maven-shade-plugin

Allow attaching the shaded artifact as primary one while keeping the original one as secondary one.

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

Description

### New feature, improvement proposal

With the parameter [`shadedArtifactAttached`](https://maven.apache.org/plugins/maven-shade-plugin/shade-mojo.html#shadedArtifactAttached) it is possible to keep the original artifact as main artifact, however it would be beneficial to instead make the original one a secondary artifact while having the shared artifact become the main one.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Maven Shade Plugin documentation for `shadedArtifactAttached` and trace the plugin’s artifact-selection behavior. Define how the shaded artifact becomes primary while the original becomes secondary, then verify the resulting Maven artifacts and document or test the new 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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.