apache / apache/maven-shade-plugin

[MSHADE-251] Add skip parameter to shade goal

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

Description

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

Most Maven plugins have a skip parameter but not the shade plugin. Our use-case is that we have multiple ways of packaging apps for deployment (using the shade plugin is one such way). We have these packaging plugins defined in our shared parent POM and projects can use Maven properties to control which ones to skip and which to execute.

We've added this feature on our fork (which you can view [here](https://github.com/HubSpot/maven-plugins/compare/3fb23118d33d842e56a05cc94388d0b40f1bd7e3...811af68429b3728eaef1f8fc42a32bdb2571a8b1)). It's not much code and having a skip parameter can be a lifesaver when you need it, so I was hoping this feature could get added. Let me know what you think.

Thanks,
Jonathan

---

2 votes, 5 watchers

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the linked HubSpot fork comparison and the Maven Shade Plugin's shade goal implementation to understand the proposed skip parameter. Confirm how Maven properties control plugin execution, then verify that the goal can be skipped as requested without changing normal packaging behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.