-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Publish with Module support in Maven Repository #40
Comments
Thanks for your report! Please ensure you have provided enough info in order to recreate the issue, including the problematic ODS File.' first issue |
Hi, Originally SODS was designed for JDK8. So I am compiling all the releases with a JDK8. That might explain why it is not compatible with the module system of JDK9. The module-info was added after 1.4.0 release thanks to a contributor. I might need to drop JDK8 compatibility in order to enable it. Let's see what I can do |
Isn't the GitHub CI task using JDK11? It should be able to compile the multi-release JAR so that the module-info.class targets JDK9 bytecode and other class files JDK8 bytecode. |
That's a good point. Right now I am compiling the releases in my own machine. The future should be using Github Actions |
Please publish a version with module support.
I have the following error when I use your maven dependency :
I am using the following versions of java and Maven :
After some investigation, I see that there is a module-info.java, but the version 1.4.0 was published before the commit.
But even if you publish a new release, it is seems that the module will be not present (I do a test with JitPack, the profile JDK9 is not activated by default).
Edit : I am using Maven embedded in Intellij (maven 3.8.1), not from my system.
I have recompiled myself your SODS code and install it to my local maven repository (~/.m2), and I am now able to build the JLINK image.
Please release a version with module in the Maven repository.
The text was updated successfully, but these errors were encountered: