Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0-alpha-1, 2.4.13
-
None
-
None
Description
From what I can gather, Jigsaw module resolution analyzes the contents of module-info.class, MANIFEST.MF and META-INF/services/* files.
As such, it turns out that the contents of src/resources/META-INF/services/org.codehaus.groovy.source.Extensions prevents groovy-*.jar from being loaded as an automatic module, at least within a Maven build.
rfscholte has pointed out that this is not a Maven specific problem as can be verified in JShell by invoking:
java.lang.module.ModuleFinder.of(java.nio.file.Paths.get(artifact)).findAll().stream().findFirst().get().descriptor().name()
Attachments
Issue Links
- links to