Alex Ruiz has announced the release of the JavaFX Maven plugin to simplify the process of compiling JavaFX sources. It replaced a prior plugin which was written as a wrapper for an Ant script, which did not work well. The current release only supports the desktop profile.
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
The main challenge with creating the plugin has been the licensing restrictions stipulated by Sun/Oracle which precludes others from distributing the JavaFX libraries via a Maven repository. Installing the library locally is possible but time consuming. Furthermore the names and number of the JavaFX have changed with each release.
To overcome these issues the plugin does not require you to list the JavaFX libraries as dependencies. Rather, the plugin uses an environmental variable to specify the path of the JavaFX home directory. The plugin reads this value and no further configuration is required.
You can download the current release here: http://fisheye.codehaus.org/browse/fest/
Read Alex Ruiz announcement here: http://fest.easytesting.org/javafx/maven/index.html