-
Notifications
You must be signed in to change notification settings - Fork 12
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
Task: build runtime image #1
Comments
I tried using jlink plugin, but it failed with NPE. <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jlink-plugin</artifactId>
<version>3.0.0-alpha-1</version> |
Apparently the pre-release jlink plugin does not yet support multi module projects. |
One of the greatest features of Java has been back-compatibility going back to version 1.01. The Project Jigsaw module system added in Java 9 is major break with the past. It is apparent that tooling in Maven and Eclipse has not caught up with Java 9 even though 10 is current and 11 is imminent. Module build is still experimental in Gradle as well, but it looks like it may be further along. See https://guides.gradle.org/building-java-9-modules/. Note that Conga uses ServiceLoader as discussed in that article for message encoding plug-ins. Does anyone have experience with this? |
Wordaround: |
A more popular way to go these days would be to build a Docker image. This can easily be accomplished with a Maven plugin. |
Enhance the build process to produce a modular runtime image
The text was updated successfully, but these errors were encountered: