apache / apache/maven-assembly-plugin
[MASSEMBLY-970] Duplicate <include> in <dependencySet> causes "The following patterns were never triggered in this artifact inclusion filter" warning
- Dominant language
- Java
- Stars
- 110
- Forks
- 75
- Avg merge
- 12h 54m
- Merged PRs (30d)
- 10
Description
**[Václav Haisman](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=wilx)** opened **[MASSEMBLY-970](https://issues.apache.org/jira/browse/MASSEMBLY-970?redirect=false)** and commented
```
[WARNING] The following patterns were never triggered in this artifact inclusion filter:
o 'org.python:jython-standalone'
```
The reason for the warning is a duplicate lines of `` in ``.
Here is a Git repository with the demonstration projects: [https://github.com/wilx/maven-assembly-includes-test-case-2](https://github.com/wilx/maven-assembly-includes-test-case-2).
Older versions did not show this warning. This warning in combination with `true` breaks build.
Maybe there should be a warning about duplicate `` instead that does not break the build with ``?
---
**Affects:** 3.4.2
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the demonstration projects in https://github.com/wilx/maven-assembly-includes-test-case-2 and reproduce the duplicate entries in a with true. Trace the artifact inclusion filter and its warning behavior; done means the duplicate include case no longer produces the reported build-breaking behavior and is covered by an appropriate test.
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