sormuras.github.io

Invalid Automatic-Module-Names

Already 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.

Examples of invalid names

If 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.

How to name a module?

This summary is copied over from module-names-for-java-se-9-jpms:

Make sure to also read the full blog at java-se-9-jpms-module-naming

Build tool improvements