apache / apache/maven-assembly-plugin

[MASSEMBLY-779] It would be useful to be able to make the assembly plugin fail on errors

Open
#990 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
110
Forks
75
Avg merge
12h 54m
Merged PRs (30d)
10

Description

**[Benson Margulies](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=bmargulies)** opened **[MASSEMBLY-779](https://issues.apache.org/jira/browse/MASSEMBLY-779?redirect=false)** and commented

We've encountered some situations in which we would like our builds to fail if the assembly plugin cannot find some item called for in the descriptor.

This suggests the invention of a failOnMissingItem boolean parameter.

Default, of course, to current behavior.

---

**Issue Links:**
- [MASSEMBLY-505](https://issues.apache.org/jira/browse/MASSEMBLY-505) Feature Request: useStrictFiltering option for FileSets
(_**"is blocked by"**_)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing how the assembly plugin processes descriptors and handles missing items, then read the linked MASSEMBLY-505 feature request about strict filtering. Done means adding a failOnMissingItem option that preserves current behavior by default and allows builds to fail when requested items cannot be found.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.