Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define JPMS automatic module name for all modules #47

Closed
sebastienh opened this issue Feb 24, 2021 · 1 comment
Closed

Define JPMS automatic module name for all modules #47

sebastienh opened this issue Feb 24, 2021 · 1 comment
Labels
in: infrastructure Infrastructure related topics type: enhancement New feature or request
Milestone

Comments

@sebastienh
Copy link

Hi!

I would like to use the library in a Intellij Java project which uses Java 9 modules. The problem is that if a library doesn't declare an Automatic-Module-Name in the Jar MANIFEST the library falls into the unnamed module, and as we speak, Intellij does not support unnamed module.

It's quite an easy addition, as described in Automatic-Module-Name: Calling All Java Library Maintainers.

Thanks for this library!

@hschwentner hschwentner added this to the 1.2 milestone Feb 26, 2021
@hschwentner
Copy link
Member

Needed this for the LeasingNinja.io, too... Will be fixed in version 1.2. For the time being you can use this into your module-info.java:

requires jmolecules.ddd;

In the future it will be:

requires org.jmolecules.ddd;

odrotbohm added a commit that referenced this issue Mar 13, 2021
Unify plugin declaration into project root and let the individual modules only set the module name via a property.
@odrotbohm odrotbohm added in: infrastructure Infrastructure related topics type: enhancement New feature or request labels Mar 15, 2021
@odrotbohm odrotbohm changed the title Add an Automatic-Module-Name in the jar(s) MANIFEST Define JPMS automatic module name Mar 15, 2021
@odrotbohm odrotbohm changed the title Define JPMS automatic module name Define JPMS automatic module name for all modules Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: infrastructure Infrastructure related topics type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants