[ 
https://issues.apache.org/jira/browse/GROOVY-8480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16374001#comment-16374001
 ] 

Paul King commented on GROOVY-8480:
-----------------------------------

Running {{jar --file=groovy-3.0.0-SNAPSHOT.jar --describe-module}} for all 
modules says:
{noformat}
No module descriptor found. Derived automatic module.
{noformat}
With the following extra info for our various modules:
{noformat}
org.codehaus.groovy@3.0.0-SNAPSHOT automatic
requires java.base mandated
provides org.codehaus.groovy.transform.ASTTransformation with 
groovy.grape.grabannotationtransformation 
org.codehaus.groovy.ast.builder.astbuildertransformation
contains groovy.beans
contains groovy.cli
contains groovy.grape
contains groovy.inspect
contains groovy.io
contains groovy.lang
contains groovy.lang.groovydoc
contains groovy.security
contains groovy.time
contains groovy.transform
contains groovy.transform.builder
contains groovy.transform.options
contains groovy.transform.stc
contains groovy.ui
contains groovy.util
contains groovy.util.logging
contains groovy.xml
contains groovyjarjarantlr
contains groovyjarjarantlr.ASdebug
contains groovyjarjarantlr.actions.cpp
contains groovyjarjarantlr.actions.csharp
contains groovyjarjarantlr.actions.java
contains groovyjarjarantlr.actions.python
contains groovyjarjarantlr.build
contains groovyjarjarantlr.collections
contains groovyjarjarantlr.collections.impl
contains groovyjarjarantlr.debug
contains groovyjarjarantlr.debug.misc
contains groovyjarjarantlr.preprocessor
contains groovyjarjarantlr4.runtime
contains groovyjarjarantlr4.runtime.debug
contains groovyjarjarantlr4.runtime.misc
contains groovyjarjarantlr4.runtime.tree
contains groovyjarjarantlr4.v4
contains groovyjarjarantlr4.v4.analysis
contains groovyjarjarantlr4.v4.automata
contains groovyjarjarantlr4.v4.codegen
contains groovyjarjarantlr4.v4.codegen.model
contains groovyjarjarantlr4.v4.codegen.model.chunk
contains groovyjarjarantlr4.v4.codegen.model.decl
contains groovyjarjarantlr4.v4.codegen.target
contains groovyjarjarantlr4.v4.gui
contains groovyjarjarantlr4.v4.misc
contains groovyjarjarantlr4.v4.parse
contains groovyjarjarantlr4.v4.runtime
contains groovyjarjarantlr4.v4.runtime.atn
contains groovyjarjarantlr4.v4.runtime.dfa
contains groovyjarjarantlr4.v4.runtime.misc
contains groovyjarjarantlr4.v4.runtime.tree
contains groovyjarjarantlr4.v4.runtime.tree.pattern
contains groovyjarjarantlr4.v4.runtime.tree.xpath
contains groovyjarjarantlr4.v4.semantics
contains groovyjarjarantlr4.v4.tool
contains groovyjarjarantlr4.v4.tool.ast
contains groovyjarjarantlr4.v4.unicode
contains groovyjarjarasm.asm
contains groovyjarjarasm.asm.commons
contains groovyjarjarasm.asm.signature
contains groovyjarjarasm.asm.tree
contains groovyjarjarasm.asm.util
contains groovyjarjarcommonscli
contains org.apache.groovy.ast.tools
contains org.apache.groovy.internal.metaclass
contains org.apache.groovy.internal.util
contains org.apache.groovy.io
contains org.apache.groovy.lang.annotation
contains org.apache.groovy.metaclass
contains org.apache.groovy.parser
contains org.apache.groovy.parser.antlr4
contains org.apache.groovy.parser.antlr4.internal
contains org.apache.groovy.parser.antlr4.util
contains org.apache.groovy.plugin
contains org.apache.groovy.util
contains org.apache.groovy.util.concurrentlinkedhashmap
contains org.codehaus.groovy
contains org.codehaus.groovy.antlr
contains org.codehaus.groovy.antlr.java
contains org.codehaus.groovy.antlr.parser
contains org.codehaus.groovy.antlr.treewalker
contains org.codehaus.groovy.ast
contains org.codehaus.groovy.ast.builder
contains org.codehaus.groovy.ast.decompiled
contains org.codehaus.groovy.ast.expr
contains org.codehaus.groovy.ast.stmt
contains org.codehaus.groovy.ast.tools
contains org.codehaus.groovy.classgen
contains org.codehaus.groovy.classgen.asm
contains org.codehaus.groovy.classgen.asm.indy
contains org.codehaus.groovy.classgen.asm.indy.sc
contains org.codehaus.groovy.classgen.asm.sc
contains org.codehaus.groovy.classgen.asm.util
contains org.codehaus.groovy.cli
contains org.codehaus.groovy.control
contains org.codehaus.groovy.control.customizers
contains org.codehaus.groovy.control.customizers.builder
contains org.codehaus.groovy.control.io
contains org.codehaus.groovy.control.messages
contains org.codehaus.groovy.plugin
contains org.codehaus.groovy.reflection
contains org.codehaus.groovy.reflection.android
contains org.codehaus.groovy.reflection.stdclasses
contains org.codehaus.groovy.reflection.v7
contains org.codehaus.groovy.runtime
contains org.codehaus.groovy.runtime.callsite
contains org.codehaus.groovy.runtime.dgmimpl
contains org.codehaus.groovy.runtime.dgmimpl.arrays
contains org.codehaus.groovy.runtime.m12n
contains org.codehaus.groovy.runtime.memoize
contains org.codehaus.groovy.runtime.metaclass
contains org.codehaus.groovy.runtime.powerassert
contains org.codehaus.groovy.runtime.typehandling
contains org.codehaus.groovy.runtime.wrappers
contains org.codehaus.groovy.syntax
contains org.codehaus.groovy.tools
contains org.codehaus.groovy.tools.ast
contains org.codehaus.groovy.tools.gse
contains org.codehaus.groovy.tools.javac
contains org.codehaus.groovy.tools.shell
contains org.codehaus.groovy.tools.shell.util
contains org.codehaus.groovy.transform
contains org.codehaus.groovy.transform.sc
contains org.codehaus.groovy.transform.sc.transformers
contains org.codehaus.groovy.transform.stc
contains org.codehaus.groovy.transform.tailrec
contains org.codehaus.groovy.transform.trait
contains org.codehaus.groovy.util
contains org.codehaus.groovy.vmplugin
contains org.codehaus.groovy.vmplugin.v5
contains org.codehaus.groovy.vmplugin.v6
contains org.codehaus.groovy.vmplugin.v7
contains org.codehaus.groovy.vmplugin.v8
main-class groovy.ui.GroovyMain
{noformat}

{noformat}
org.codehaus.groovy.ant@3.0.0-SNAPSHOT automatic
requires java.base mandated
contains groovy.util
contains org.codehaus.groovy.ant
{noformat}

{noformat}
org.codehaus.groovy.bsf@3.0.0-SNAPSHOT automatic
requires java.base mandated
contains org.codehaus.groovy.bsf
{noformat}

{noformat}
org.codehaus.groovy.console@3.0.0-SNAPSHOT automatic
requires java.base mandated
contains groovy.inspect
contains groovy.inspect.swingui
contains groovy.ui
contains groovy.ui.text
contains groovy.ui.view
{noformat}

{noformat}
org.codehaus.groovy.docgenerator@3.0.0-SNAPSHOT automatic
requires java.base mandated
contains org.codehaus.groovy.tools
{noformat}

{noformat}
org.codehaus.groovy.groovydoc@3.0.0-SNAPSHOT automatic
requires java.base mandated
contains org.codehaus.groovy.groovydoc
contains org.codehaus.groovy.tools.groovydoc
contains org.codehaus.groovy.tools.groovydoc.gstringTemplates
{noformat}

{noformat}
org.codehaus.groovy.groovysh@3.0.0-SNAPSHOT automatic
requires java.base mandated
contains org.codehaus.groovy.tools.shell
contains org.codehaus.groovy.tools.shell.commands
contains org.codehaus.groovy.tools.shell.completion
contains org.codehaus.groovy.tools.shell.util
{noformat}

{noformat}
org.codehaus.groovy.jmx@3.0.0-SNAPSHOT automatic
requires java.base mandated
contains groovy.jmx.builder
contains groovy.util
{noformat}

{noformat}
org.codehaus.groovy.json@3.0.0-SNAPSHOT automatic
requires java.base mandated
contains groovy.json
contains groovy.json.internal
{noformat}

{noformat}
org.codehaus.groovy.jsr223@3.0.0-SNAPSHOT automatic
requires java.base mandated
provides javax.script.ScriptEngineFactory with 
org.codehaus.groovy.jsr223.groovyscriptenginefactory
contains org.codehaus.groovy.jsr223
{noformat}

{noformat}
org.codehaus.groovy.macro@3.0.0-SNAPSHOT automatic
requires java.base mandated
provides org.codehaus.groovy.transform.ASTTransformation with 
org.codehaus.groovy.macro.transform.macroclasstransformation 
org.codehaus.groovy.macro.transform.macrotransformation
contains org.codehaus.groovy.macro.matcher
contains org.codehaus.groovy.macro.matcher.internal
contains org.codehaus.groovy.macro.methods
contains org.codehaus.groovy.macro.runtime
contains org.codehaus.groovy.macro.transform
{noformat}

{noformat}
org.codehaus.groovy.nio@3.0.0-SNAPSHOT automatic
requires java.base mandated
contains org.codehaus.groovy.runtime
{noformat}

{noformat}
org.codehaus.groovy.servlet@3.0.0-SNAPSHOT automatic
requires java.base mandated
contains groovy.servlet
{noformat}

{noformat}
org.codehaus.groovy.sql@3.0.0-SNAPSHOT automatic
requires java.base mandated
contains groovy.sql
contains org.codehaus.groovy.runtime
{noformat}

{noformat}
org.codehaus.groovy.swing@3.0.0-SNAPSHOT automatic
requires java.base mandated
contains groovy.inspect.swingui
contains groovy.model
contains groovy.swing
contains groovy.swing.binding
contains groovy.swing.factory
contains groovy.swing.impl
contains org.codehaus.groovy.binding
contains org.codehaus.groovy.runtime
{noformat}

{noformat}
org.codehaus.groovy.templates@3.0.0-SNAPSHOT automatic
requires java.base mandated
contains groovy.text
contains groovy.text.markup
{noformat}

{noformat}
org.codehaus.groovy.test@3.0.0-SNAPSHOT automatic
requires java.base mandated
contains groovy.lang
contains groovy.mock.interceptor
contains groovy.test
contains groovy.transform
contains groovy.util
contains org.codehaus.groovy.runtime
contains org.codehaus.groovy.transform
{noformat}

{noformat}
org.codehaus.groovy.testng@3.0.0-SNAPSHOT automatic
requires java.base mandated
provides org.apache.groovy.plugin.GroovyRunner with 
org.apache.groovy.plugin.testng.testngrunner
contains org.apache.groovy.plugin.testng
contains org.codehaus.groovy.testng
{noformat}

{noformat}
org.codehaus.groovy.xml@3.0.0-SNAPSHOT automatic
requires java.base mandated
contains groovy.util
contains groovy.util.slurpersupport
contains groovy.xml
contains groovy.xml.dom
contains groovy.xml.jaxb
contains groovy.xml.streamingmarkupsupport
contains org.codehaus.groovy.runtime
contains org.codehaus.groovy.tools.xml
{noformat}
Obviously, we'll have to tackle the package overlaps at some point.

> org.codehaus.groovy.runtime.ExtensionModule should move to META-INF/groovy
> --------------------------------------------------------------------------
>
>                 Key: GROOVY-8480
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8480
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul King
>            Priority: Major
>
> To avoid confusing Java 9's ModuleFinder. We should fall back to the current 
> location to handle existing jars.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to