-
Notifications
You must be signed in to change notification settings - Fork 40
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
feat: implement Jlink plugin #951
base: main
Are you sure you want to change the base?
Conversation
Introduce jlink plugin to create Java runtime for the application. canonical#891
Add initial documentation for the jlink plugin.
The JAVA_HOME is prepended to the classpath and if defined overrides JDK that is used by jlink plugin. The jlink_java_version option is dropped as the version is determined by the jar version.
- Add JAVA_HOME usage - drop jlink_java_version
The property is dropped from the plugin. Drop the test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
Co-authored-by: Michael DuBelko <[email protected]>
Co-authored-by: Michael DuBelko <[email protected]>
Co-authored-by: Michael DuBelko <[email protected]>
Co-authored-by: Michael DuBelko <[email protected]>
Instead of altering the runtime path, set JAVA_HOME and validate that JAVA_HOME/bin/java is an executable
Co-authored-by: Tiago Nobrega <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot, this is great. @medubelko @mr-cal can we get this across the finish line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, this is looking good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some remaining YAML indentation quirks.
Co-authored-by: Callahan <[email protected]>
Co-authored-by: Callahan <[email protected]>
Co-authored-by: Michael DuBelko <[email protected]>
Co-authored-by: Michael DuBelko <[email protected]>
Co-authored-by: Callahan <[email protected]>
Co-authored-by: Callahan <[email protected]>
Move changelog entry to the new version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@vpa1977, have you tested building a simple snap, rock, or charm with the jlink plugin? I'm happy to publish a version of snapcraft with this plugin to make it easy.
This MR resolves #891
It adds jlink plugin along with unit and integration tests and plugin documentation.
docs/reference/changelog.rst
)?