elharo opened a new issue, #1645:
URL: https://github.com/apache/maven-dependency-plugin/issues/1645
`AbstractAnalyzeMojo.filterDependencies()` at line 562-563:
```java
if (excludes == null || excludes.length == 0) {
return artifacts;
}
```
When no exclude patterns are configured (the default), the method returns
the **entire input set** as "ignored" artifacts. The caller stores this in
`ignoredUsedUndeclared`, `ignoredUnusedDeclared`, or `ignoredNonTestScope`.
In `-Dverbose` mode, every artifact appears in both the "Used undeclared
dependencies found:" section AND the "Ignored used undeclared dependencies:"
section, making the verbose output useless.
The method should return an empty set when no excludes are configured, not
the full set.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]