I have a Java FX project and am using maven 3.0.5 to build. When i run mvn package/install, the project fails and complains that the package javafx.* doesn\'t exist
placing this in the dependencies (depending on where your jdk is) will help the dependency compile, however you should probably replace it with a variable that the user can specify in their settings.xml or maven system properties:
com.oracle
javaFX
2.2
system
C:\Program Files\Java\jre7\lib\jfxrt.jar
see Maven project with JavaFX (with jar file in `lib`) for more details as to why