In order for this plugin to work, it needs to know the path where JavaFX is installed in your system. We refer to this path as the JavaFX home.
The JavaFX plugin does not expect the JavaFX jar files specified in the "dependencies" of a POM file for the following reasons:
This is the easiest way to specify the path of the JavaFX home directory. The JavaFX plugin will automatically read this value and no further configuration is needed.
The following is a sample POM file that specifies the path of the JavaFX home directory in the configuration of the "compile" goal:
<build>
<plugins>
<plugin>
<groupId>org.easytesting</groupId>
<artifactId>javafxc-maven-plugin</artifactId>
<version>1.0b1</version>
...
<configuration>
<javaFxHome>c:\JavaFX\javafx-sdk1.2</javaFxHome>
</configuration>
</plugin>
</plugins>
</build>