You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Václav Haisman (Jira)" <ji...@apache.org> on 2022/08/06 09:22:00 UTC
[jira] [Created] (MASSEMBLY-970) Duplicate in causes "The following patterns were never triggered in this artifact inclusion filter" warning
Václav Haisman created MASSEMBLY-970:
----------------------------------------
Summary: Duplicate <include> in <dependencySet> causes "The following patterns were never triggered in this artifact inclusion filter" warning
Key: MASSEMBLY-970
URL: https://issues.apache.org/jira/browse/MASSEMBLY-970
Project: Maven Assembly Plugin
Issue Type: Bug
Components: dependencySet
Affects Versions: 3.4.2
Reporter: Václav Haisman
{code}
[WARNING] The following patterns were never triggered in this artifact inclusion filter:
o 'org.python:jython-standalone'
{code}
The reason for the warning is a duplicate lines of {{<include>}} in {{<dependencySet>}}.
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 {{<useStrictFiltering>true</useStrictFiltering>}} breaks build.
Maybe there should be a warning about duplicate {{<include>}} instead that does not break the build with {{<useStrictFiltering>}}?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)