apache / apache/maven-assembly-plugin

[MASSEMBLY-815] file-aggregator containerDescriptorHandler element requires metaInf-services to precede it

Open
#1,024 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
110
Forks
75
Avg merge
12h 54m
Merged PRs (30d)
10

Description

**[Brian Topping](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=topping)** opened **[MASSEMBLY-815](https://issues.apache.org/jira/browse/MASSEMBLY-815?redirect=false)** and commented

When using a `containerDescriptorHandler` of type `file-aggregator`, the files are not aggregated unless a `containerDescriptorHandler` of type `metaInf-services` comes first:

```xml

...



metaInf-services


file-aggregator

reference.conf
reference.conf


```

---

**Affects:** 2.6

1 votes, 2 watchers

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the XML configuration shown in the issue, first with only the file-aggregator handler and then with metaInf-services before it. Trace how container descriptor handlers are ordered and processed. Done means file-aggregator produces reference.conf without requiring metaInf-services to precede it.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.