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

Spring boot extension #693

Draft
wants to merge 48 commits into
base: main
Choose a base branch
from
Draft

Conversation

vpa1977
Copy link
Contributor

@vpa1977 vpa1977 commented Sep 2, 2024

  • Have you signed the CLA?

This PR adds spring boot extension.
The PR uses JLink plugin: #688 and is required for proceeding with the PR.

Add initial implementation of jlink plugin.
It creates Java runtime for a built project.
If no jar files are found it generates an image for java.base
module.
Use options.jlink_java_version in plugin to specify paths.
Update test assertions.
Until canonical/craft-parts#833
is implemented, the Java dependencies will be chiselled by a separate
part.

JLink plugin may implement validation of the dependencies in a separate
PR.
spring-boot-framework extension will use separate part to
stage dependencies for Java runtime until stage-packages
is implemented for plugins.
current build path has staged area before build area.
base-files_base are needed to allow Java runtime to access
default directories.
Gradle wrapper causes build script to abort.
Add separate stage and prime to deploy the results.
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

Successfully merging this pull request may close these issues.

1 participant