-
Notifications
You must be signed in to change notification settings - Fork 453
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
Research exporting public API packages as Java Module #1434
Comments
I read this and thought it was a good overview |
I think a good first step would be adding the |
We should probably look for Accumulo dependencies that have not yet set |
I am going to try and write a script to analyze our dependencies and generate a list. Otherwise it will be time consuming to inspect each JAR by hand. |
It turns out the maven dependency plugin already does this so we can generate a list easily with the following command: |
For dependencies that have not broached the subject yet, I created the following issues about adding automatic-module-name:
|
Here is a list of dependencies without a module name and their status:
|
I am no longer planning on doing research for this so closing. |
Isn't this something that will need to be done (eventually)? When that day comes, would any work done now be OBE,? Are there steps that should adopt now that would lessen future work / pain? Why not keep it open as a marker for future technical debt? Maybe someone else would be interested? |
Yes, probably.
The automatic module stuff above will be a useful starting point.
It's not really technical debt, as modules aren't necessary or required. If somebody else is interested, we could always re-open or create a more narrowly scoped task. This one is a bit wide open, and there's no specific action to take in response to it. I'm not sure it's adding any value being perpetually open. If you want, you could add a "backlog" tag to it, or something to find it (and others like it) more easily later. |
JCommander has a substitute called picocli which supports jpms. |
It may be possible to use the Modules system, added in Java 9, to export the packages we want to treat as public API as a single module.
The text was updated successfully, but these errors were encountered: