Automatic-Module-Name
sAlready over 600 modules were uploaded to Maven Central lately, containing invalid names!
TLDR: Run jar --describe-module --file ARTIFACT.jar
to verify the selected module name adheres at least valid Java syntax before publishing.
org.apache.jena.jena-fuseki-core
❌ no -
allowedorg.drools.wb.enum.editor.api
❌ enum
is a Java keywordorg.kie.wb.common.default.editor.api
❌ default
is a Java keywordorg.neo4j.tooling.import
❌ import
is a Java keywordorg.talend.sdk.component.runtime..standalone
❌ no ..
allowedIf you find your published library, or that of a friend, listed below suspicious modules, please correct the module name as soon as possible.
An invalid module name is even worse than no module name.
This summary is copied over from module-names-for-java-se-9-jpms:
org.joda.time
.Make sure to also read the full blog at java-se-9-jpms-module-naming