java-module-dependencies icon indicating copy to clipboard operation
java-module-dependencies copied to clipboard

[Maybe] New analysis: compare dependencies defined in POM and in module-info.class

Open jjohannes opened this issue 2 years ago • 1 comments

We stumbled over differences here that caused things to be missing on the Module Path.

An analysis that shows these differences would be helpful. This information could be used to report problems to library maintainers. Or even to automatically fix issues through a component metadata rules (although such a rule would have to look into the Jar).

jjohannes avatar Nov 14 '22 15:11 jjohannes

Additional idea: Use tasks of dependency-analysis-android-gradle-plugin to analyse if the scope (requires vs requires transitive) is correct in module-info.class (and in pom Metadata) of the external dependencies.

jjohannes avatar Nov 17 '22 07:11 jjohannes