-
Notifications
You must be signed in to change notification settings - Fork 39
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
The SDK Jar does not provide a Module Name #362
Comments
Signed-off-by: Adam Roberts <adam.roberts@collibra.com>
@ARobertsCollibra thanks for bringing this up. I'm ashamed to say I had made a mental note do do exactly this and forgot.
Good catch, the guidlelines should be updated. We do indeed want to stay with Java8 for now for maximum compatibility, but at some point it makes sense to migrate to 11+ and properly modularize the library. cc @justinabrahms |
I've created this in contrib (cc @justinabrahms @Kavindu-Dodan @thiyagu06 ) |
* fix: added an automatic module name (#362) Signed-off-by: Adam Roberts <adam.roberts@collibra.com> * derive module name Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com> --------- Signed-off-by: Adam Roberts <adam.roberts@collibra.com> Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com> Co-authored-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
@ARobertsCollibra the fix should available in 1.3.1. If you find time, please confirm. |
The problem appears to have been resolved! |
This is a major issue for developers using both IntelliJ and Gradle due to a Gradle bug
But even when that bug is not present having the automatically created module name be plain
sdk
is not very descriptive and has a high potential for confusion.This can be fixed without requiring Java 9 or higher by adding
Automatic-Module-Name
to theMANIFEST.MF
in the published Jar. Alternatively, the project can be updated to compile to Java 11 bytecode and be fully modularized. Currently the contributing guidelines sayJava 11+
but the pom.xml say1.8
.The text was updated successfully, but these errors were encountered: