apache / apache/netbeans-mavenutils-nbm-maven-plugin

Bundle JRE/JDK in standalone application

Open
#158 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17
Forks
28
Avg merge
11h 23m
Merged PRs (30d)
6

Description

Add an option to bundle a JRE/JDK into a standalone application.

As the trend changes, we can no longer expect Java to be installed on a machine.
And with the rate of change in Java, it is difficult to share a single runtime between all the applications installed on a desktop.
Bundling a JRE/JDK with an application would make installation easier for users and IT departments.

I've already written an ANT script to do this and it works quite well. I'm using [jdks-maven-plugin](https://jreleaser.org/guide/latest/tools/jdks-maven.html) to collect the JDKs.
See:
- https://github.com/jdemetra/jdplus-main#%EF%B8%8F-bundled-java-runtime
- https://github.com/jdemetra/jdplus-main/blob/develop/jdplus-main-bom/src/antrun/bundle-netbeans.xml
- https://github.com/jdemetra/jdplus-main/blob/4b015cdd4f2d21a46ae37c5d02783a22309aea89/jdplus-main-bom/pom.xml#L232

I would like to have the same kind of functionality built directly into the Maven plugin.
What do you think?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the existing jdks-maven-plugin usage and the referenced jdplus-main-bom/src/antrun/bundle-netbeans.xml script, then inspect the pom.xml entry around line 232. Compare that working ANT flow with the Maven plugin’s current extension points; done means the plugin exposes equivalent functionality for bundling a JRE/JDK into a standalone application.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.