Skip to content
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

Add an explicit module info via moditect #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bowbahdoe
Copy link

@bowbahdoe bowbahdoe commented May 1, 2024

This adds an explicit module-info.class to the final artifact as a multi-release jar.

This means Java 5 users will be unaffected, but those using Java 9+ will see the new file.

A stable module name, either automatic or this way, is needed for dependent libraries to add module-infos of their own. A real module-info is needed in every one of a user's dependencies for them to be able to use jlink.

Context for how I ended up here spring-projects/spring-framework#18079

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant