-
Notifications
You must be signed in to change notification settings - Fork 468
Add Automatic-Module-Name manifest entry #972
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
Conversation
This gets rid of warnings on Java 9+, and makes it safer to use this library as a module.
The CI error is unrelated with this change. We need to merge #970 or an equivalent solution |
pom.xml
Outdated
@@ -171,6 +171,9 @@ | |||
<configuration> | |||
<archive> | |||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> | |||
<manifestEntries> | |||
<Automatic-Module-Name>org.gitlab4j</Automatic-Module-Name> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is the best practice definition for automatic-module-names?
since our groupId is: org.gitlab4j
and our artifactId is: gitlab4j-api
I am wondering if it wouldn't be better to name this module org.gitlab4j.api
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know. Your suggestion org.gitlab4j.api
absolutely sounds reasonable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jabby do you have an opinion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think org.gitlab4j.api
is a good idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think
org.gitlab4j.api
is a good idea.
Updated to org.gitlab4j.api
.
This gets rid of warnings on Java 9+, and makes it safer to use this library as a module.