launch4j-maven-plugin icon indicating copy to clipboard operation
launch4j-maven-plugin copied to clipboard

Standard plugin documentation

Open delanym opened this issue 2 years ago • 4 comments

The documentation is not great. Could you setup the standard plugin documentation, like https://maven.apache.org/plugins/maven-shade-plugin/plugin-info.html ?

delanym avatar Jul 19 '23 05:07 delanym

The available options are documented here but maybe I can include them in the page

lukaszlenart avatar Jul 27 '23 08:07 lukaszlenart

Having an examples section like https://maven.apache.org/plugins/maven-shade-plugin/examples/includes-excludes.html would demonstrate what the plugin is capable of.

I'm trying to provide a self-contained executable so that the execution environment doesn't require a JRE installed. Is this even possible?

delanym avatar Jul 27 '23 08:07 delanym

So you want to include JRE with the exe as well? Not sure if this possible after switching to Launch4j 3.50

lukaszlenart avatar Jul 27 '23 08:07 lukaszlenart

Here you can find how to use assembly plugin to pack all the dependencies, yet it isn't possible to include JRE - if JRE isn't available a monit to download it will be showed based on the configuration:

Use path search first, if Java cannot be located then perform a registry search. If that fails display an error message and optionally open the Java download page

lukaszlenart avatar Jul 27 '23 08:07 lukaszlenart