slachiewicz opened a new pull request, #350: URL: https://github.com/apache/maven-dependency-analyzer/pull/350
Since the class entry source change, `ClassEntries.isClassEntry` skips every JAR entry with a `-` in its path, so classes Kotlin names like `okio/-Util` drop out of a dependency's class set and a dependency used only through them is reported unused declared (and the usage as undeclared). The filter now skips only `module-info.class` and `package-info.class`, by file name, so the `META-INF/versions/*/module-info.class` case stays skipped. It touches different lines than #349 (that PR adds javadoc above `isClassEntry` and changes the directory filter in `PathClassEntrySource`); a trial merge of the two is clean. Verified: `mvn verify -Prun-its` → exit 0, 25 ITs run. -- 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]
