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

How to use one jmod in another, your example does not reuse modules between them. #3

Open
pratikpparikh opened this issue Sep 1, 2017 · 2 comments

Comments

@pratikpparikh
Copy link

How to use one jmod in another, your example does not reuse modules between them.

@khmarbaise
Copy link
Owner

khmarbaise commented Sep 2, 2017

The idea at the moment for JMOD files is only for link time see the original JEP

JMOD files can be used at compile time and link time, but not at run time.

That means you can't use them as a dependency from one jmod file to another jmod file as you can do with jar files...

@paulvi
Copy link
Contributor

paulvi commented Jan 20, 2018

Then it would better for maven module with <packaging>jmod</packaging> to produce usual jar as well, so it can be used as usually.

Currently there is no jar in output for jmod maven module.

image

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

3 participants