I have not been able to successfully find a working solution on how to configure Maven to build an EXE from JavaFX with Maven.
Projects set up with E(fx)clipse using the
I was able to do this with javafx-ant tasks.
http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 com.myapp.application myApp jar 1.0-SNAPSHOT MyApp http://www.somecompany.com
UTF-8
1.8
1.8
8.0
repo
file://${project.basedir}/lib/repo
org.apache.maven.plugins
maven-compiler-plugin
${maven.compiler.source}
${maven.compiler.target}
org.apache.maven.plugins
maven-dependency-plugin
2.3
copy-dependencies
package
false
false
true
copy-dependencies
org.apache.maven.plugins
maven-jar-plugin
com.myApp.MainClass
1.0
com.myApp.MainClass
true
maven-resources-plugin
2.6
copy-resources-1
validate
copy-resources
${basedir}/target/properties
properties
true
org.apache.maven.plugins
maven-antrun-plugin
1.6
package
run
com.oracle
ant-javafx
${javafx.version}
${java.home}/../lib/ant-javafx.jar
system
CashReceipts
org.controlsfx
controlsfx
8.40.9
customJar
custom
1.0