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

Non modular app

Open mrlimbic opened this issue 4 years ago • 4 comments

I'm trying to port a non modular app that was originally built using Java 8 and packaged with javafx-maven-plugin.

I have now got the app to compile & run using Java 15 and want to package it using jpackage-maven-plugin.

Using jpackage from the command line there is a way to package a non modular app which worked.

For a non-modular application:
    jpackage -i inputDir -n name \
        --main-class className --main-jar myJar.jar

I tried doing this through the jpackage-maven-plugin plugin like this but not sure how you are supposed to do it.

			              <!-- Not yet a modular app -->
			              <main-jar>Vordio.jar</main-jar>
			              <main-class>net.vordio.ui.VordoApp</main-class>

What is the correct way?

mrlimbic avatar Nov 26 '20 05:11 mrlimbic