I’ll also add that this was for JDK11 and references the JPackager that has since been replaced with JPackage in JDK14 for which the arguments are a little different. I’ve posted a supplemental article on DZone just now but it will be a few days before that appears.
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.6.0</version> <executions> <execution> <id>create-package</id> <phase>package</phase> <goals> <goal>exec</goal> </goals> <configuration> <executable>${JAVA_HOME}/bin/jpackage</executable> <longModulepath>false</longModulepath> <environmentVariables> <JAVA_HOME>${java.home}</JAVA_HOME> </environmentVariables> <arguments> <argument>-t</argument> <argument>${bundle.type}</argument> <argument>-n</argument> <argument>${moduleName}</argument> <argument>-m</argument> <argument>${moduleName}/${mainClass}</argument> <argument>-p</argument> <argument>${project.build.directory}/modules</argument> <argument>--icon</argument> <argument>${icons}</argument> <argument>--dest</argument> <argument>${project.build.directory}/package</argument> <argument>--app-version</argument> <argument>${project.version}</argument> <argument>--copyright</argument> <argument>Luff Corp</argument> <argument>--vendor</argument> <argument>Luff Corp</argument> <argument>--description</argument> <argument>My JavaFX App.</argument> <argument>${win-menu}</argument> <argument>${win-dir-chooser}</argument> <argument>--verbose</argument> </arguments> </configuration> </execution> </executions> </plugin> <profiles> <profile> <id>macos</id> <activation> <os> <family>mac</family> </os> </activation> <properties> <bundle.type>pkg</bundle.type> <icons>${javaFX.icon.path}/person.icns</icons> <modifier>mac</modifier> <win-dir-chooser/> <win-menu/> </properties> </profile> <profile> <id>windows</id> <activation> <os> <family>windows</family> </os> </activation> <properties> <bundle.type>msi</bundle.type> <icons>${javaFX.icon.path}/person.ico</icons> <modifier>win</modifier> <win-dir-chooser>--win-dir-chooser</win-dir-chooser> <win-menu>--win-menu</win-menu> </properties> </profile> On 16 Apr 2020, at 09:10, Luff,Chris <chris.l...@cerner.com.INVALID<mailto:chris.l...@cerner.com.INVALID>> wrote: Hi Ty, It can be a little confusing; can I recommend you follow a set of DZone[1] articles I authored on getting OpenJFX running happily in NetBeans. The articles target JDK 11 but there are no changes for 14. Using Maven there is no need to include local libraries other than that which Maven will load into your .m2. [1]:https://dzone.com/articles/adoptopenjdk-11-openjfx-netbeans<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdzone.com%2Farticles%2Fadoptopenjdk-11-openjfx-netbeans&data=02%7C01%7CChris.Luff%40cerner.com%7Cc2364d89e54d497685a308d7e1dff912%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637226224386834011&sdata=vzcFmg8Nxm5VEw%2FaOp%2F%2FXkGYeH2YraKX2W9RPDq7CdA%3D&reserved=0> On 16 Apr 2020, at 08:51, Ty Young <youngty1...@gmail.com<mailto:youngty1...@gmail.com>> wrote: On 4/15/20 11:50 PM, Ernie Rael wrote: I don't know enough about maven/javafx to give a definitive answer. The pom generated by NB for a javafx project seems to imply that there is a separate artifact for each javafx-module (as in java defined module). The program runs, so stuff is getting downloaded. The issue seems to be: <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx</artifactId> <version>14</version> <type>pom</type> which when replaced with both yours and Chris's dep config started working. Does anyone know why this is though? I included JavaFX via Netbean's own GUI by right clicking "dependencies", add, then under "search". Also, per the JavaFX Netbeans tutorial, version 14 of JavaFX requires runtime arguments(manual module include of graphics). What am I supposed to do about that? Currently I have it pointing to a local download but that isn't exactly ideal. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org<mailto:users-unsubscr...@netbeans.apache.org> For additional commands, e-mail: users-h...@netbeans.apache.org<mailto:users-h...@netbeans.apache.org> For further information about the NetBeans mailing lists, visit: https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&data=02%7C01%7CChris.Luff%40cerner.com%7Cb0e8e9cd1d4640e10dca08d7e1db084f%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637226203163845076&sdata=dsudmbYhEd2XrmW0m1g4nZ9%2B8ByuYMaDfPWG8XiE5lc%3D&reserved=0<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists&data=02%7C01%7CChris.Luff%40cerner.com%7Cc2364d89e54d497685a308d7e1dff912%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637226224386844001&sdata=36i3M6cm0Fegs%2Fdjwk2Ou0eZkPAPXDv%2F%2B1Xw1BJfI4E%3D&reserved=0> CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.