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

JPMS support #451

Open
shs96c opened this issue Jul 30, 2018 · 7 comments
Open

JPMS support #451

shs96c opened this issue Jul 30, 2018 · 7 comments

Comments

@shs96c
Copy link

shs96c commented Jul 30, 2018

It would be nice to be able to use jcommander in an app built by jlink. This could be done if it defined a module-info.class for use with JPMS (apparently the automatically declared modules used in the manifest aren't good enough for jlink)

Even without the driver of jlink, integration with JPMS will be useful as more people switch to using modules as a part of their build and when Java 11 ships.

@io7m
Copy link

io7m commented Aug 25, 2019

It seems that a module name was published in 1.75 and then withdrawn again in 1.78. What's going on?

@ice1000
Copy link

ice1000 commented Apr 11, 2021

I am also looking for this. Hopefully it could be done

@ice1000
Copy link

ice1000 commented Apr 11, 2021

The module file is moved outside of the source directory: https://github.com/cbeust/jcommander/blob/master/module-info.java

Idk why.

@ice1000
Copy link

ice1000 commented Apr 11, 2021

Hi @cbeust what happened to module-info.java?

@JohnLCaron
Copy link

Hi, is it possible to get the module_info back in?

Or (for me at least) even just "Automatic-Module-Name: com.beust.jcommander" added to MANIFEST.MF ?

@ice1000
Copy link

ice1000 commented Jun 20, 2022

Hi, is it possible to get the module_info back in?

Or (for me at least) even just "Automatic-Module-Name: com.beust.jcommander" added to MANIFEST.MF ?

FYI https://picocli.info/ supports JPMS 😉

@JohnLCaron
Copy link

thanks, @ice1000

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

No branches or pull requests

4 participants