The module name of an automatic module is derived from the JAR file used to include the artifact if it has the attribute Automatic-Module-Name in its main manifest entry.

  • Example: Automatic-Module-Name: com.foo.bar

  • Pattern: [-\w]+(:?\.[-\w]+)*