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
Please publish Automatic-Module-Name manifest entries #448
Comments
Although I'm not familiar yet with Java 9 modules, this should be relatively easy (simply add one line to our pom files): http://branchandbound.net/blog/java/2017/12/automatic-module-name/ |
@io7m would you be willing to submit a pull request which takes care of this issue? |
Hi. Apologies, it seems like your response got buried in amongst all of the noise I receive from GitHub. I can certainly submit a PR that should address your questions. |
This places all dependency and plugin version information into the parent POM. It also updates (most) plugins to their latest published versions in preparation for JDK 9 modularization. The project does not yet build on JDK 9 due to the presence of the now obsolete javax.annotation.Generated annotation. Affects jgrapht#448
This is part of the push to upgrade all dependencies to JDK 9 compatible versions. This particular upgrade is necessary to make use of the Automatic-Module-Name entries added to Commons Lang in version 3.6. Affects jgrapht#448
@jkinable Would you be opposed to requiring JDK 9 to build the project? This would be strictly limited to building from source; the project would still only require JDK 8 to run. There are two reasons to do this:
|
To clarify: I originally mentioned adding |
This sets the following module names: jgrapht-core → org.jgrapht.core jgrapht-ext → org.jgrapht.ext jgrapht-io → org.jgrapht.io This gives the modules stable names in preparation for possible full modularization. Affects jgrapht#448
This switches to using the new parameter names for version 3.0.0 of the JavaDoc plugin. Affects jgrapht#448
This sets the following module names: jgrapht-core → org.jgrapht.core jgrapht-ext → org.jgrapht.ext jgrapht-io → org.jgrapht.io This gives the modules stable names in preparation for possible full modularization. Affects jgrapht#448
@io7m the issue with the |
@jkinable Yes, modularization is possible without requiring JDK 9, it's just slightly more complicated. Not a problem! |
This sets the following module names: jgrapht-demo → org.jgrapht.demo jgrapht-touchgraph → org.jgrapht.touchgraph This gives the modules stable names in preparation for possible full modularization. Affects jgrapht#448
This upgrades JMH to the latest available version. It required a small code change to match the new API. This update primarily exists because the old version of JMH placed @generated annotations in the generated code, and these no longer exist on JDK 9. Affects jgrapht#448
Hello!
It'd be great if
jgrapht
publishedAutomatic-Module-Name
entries in the jar manifest for each module. This would assign the modules stable names to be used in (modular) Java 9 projects.The text was updated successfully, but these errors were encountered: