Skip to content

Commit bc70134

Browse files
committed
Add javafx-maven-plugin configuration
Big thanks to FibreFoX and maxd for help sorting out the configuration: * javafx-maven-plugin/javafx-maven-plugin#127 * javafx-maven-plugin/javafx-maven-plugin#128
1 parent 899322f commit bc70134

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

pom.xml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>org.scijava</groupId>
66
<artifactId>pom-scijava</artifactId>
7-
<version>7.3.2-SNAPSHOT</version>
7+
<version>7.4.0-SNAPSHOT</version>
88
<packaging>pom</packaging>
99

1010
<name>SciJava Projects</name>
@@ -1032,6 +1032,24 @@ Projects wishing to use pom-scijava as a parent project need to override the &lt
10321032
</configuration>
10331033
</plugin>
10341034

1035+
<!--
1036+
JavaFX Maven plugin -
1037+
https://github.com/javafx-maven-plugin/javafx-maven-plugin
1038+
Generate platform-specific application bundles using "mvn jfx:native"
1039+
-->
1040+
<plugin>
1041+
<groupId>com.zenjava</groupId>
1042+
<artifactId>javafx-maven-plugin</artifactId>
1043+
<version>8.1.2</version>
1044+
<configuration>
1045+
<appName>${project.name}</appName>
1046+
<identifier>${project.name}</identifier>
1047+
<jfxMainAppJarName>${project.name}.jar</jfxMainAppJarName>
1048+
<mainClass>${main-class}</mainClass>
1049+
<verbose>true</verbose>
1050+
</configuration>
1051+
</plugin>
1052+
10351053
<!-- NAR Maven plugin - https://github.com/maven-nar/nar-maven-plugin -->
10361054
<plugin>
10371055
<groupId>com.github.maven-nar</groupId>
@@ -1180,6 +1198,12 @@ Projects wishing to use pom-scijava as a parent project need to override the &lt
11801198
<artifactId>maven-graph-plugin</artifactId>
11811199
</plugin>
11821200

1201+
<!-- Enable 'jfx:' goals. -->
1202+
<plugin>
1203+
<groupId>com.zenjava</groupId>
1204+
<artifactId>javafx-maven-plugin</artifactId>
1205+
</plugin>
1206+
11831207
<!-- Enable 'nar:' goals. -->
11841208
<plugin>
11851209
<groupId>com.github.maven-nar</groupId>

0 commit comments

Comments
 (0)