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

please add support for JPMS via a module-info.java or at least a module name in the jar's manifest #1579

Open
SingingBush opened this issue Oct 12, 2022 · 0 comments

Comments

@SingingBush
Copy link

without a jar specifying a module name or having a module-info JPMS will use the jar name as an automatic module. For some users this will be fine but for library projects that publish to maven repositories this is not ok. Hence seeing warning messages like this:

* Required filename-based automodules detected: [moshi-1.14.0.jar]. Please don't publish this project to a public artifact repository! *

personally I would much have a world where everything in maven central contained a module-info.java but at least specifying the Automatic-Module-Name in the jar's manifest would be beneficial.

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

No branches or pull requests

1 participant