apache / apache/maven-shade-plugin

[MSHADE-233] IncludeResourceTransformer should (be configurable to) error if file doesn't exist.

Open
#595 1 comment 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

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

Just spent a long time debugging why the shaded jar was missing a resource, and it turns out I just typoed the file.

It would be much better if this wasn't a silent failure.
At least a warning should be logged, if not a full error.

---

**Affects:** 2.4.3

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating IncludeResourceTransformer and tracing how it handles a missing resource while building a shaded jar. Determine how the requested configurable warning or error behavior should be represented, then verify that missing-file cases produce the intended outcome without silently succeeding.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.