-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Java 9 support #23
Comments
This project is presently impossible to include in a Java 9+ project using JPMS. In order to include it, one has to enter a This project has not configured any module name, so Java 9+ is falling back to an automatic method of determining the module name, which uses the jar file name, minus the version information. Hyphens are disallowed as characters in module names, so a dot is substituted, creating the automatic module name Unfortunately, Providing module support to Java 9+ without implementing modules yourself is trivial if you use Maven as a build system. Simply add this to your parent
And then in each of your modules, define that property, e.g., See this blog post for more details and reasoning why library maintainers should do this. |
Any chance you can look into merging #40? Presently the lack of a legal module name is a blocker for using code-assert with JDK 9+. |
Sorry for the long delay. |
Thanks! Before you release I hope you can test with |
Yes, it's added. |
released as |
FYI, I have been struggling to include code-assert in a modular build. There are two unique issues:
I was able to resolve that by changing my own dependency to the For the
but that now gives me a split package:
I'm sure there's more I could do playing with exclusions here, but I'm getting out of my depth knowing all the code assert dependencies. Not really a new problem or new solution but sharing progress in case anyone else is going down this road. I do think updating code assert to the latest version of most dependencies might clean a few things up. |
As the GA release is due later this year...
The text was updated successfully, but these errors were encountered: