Hi
I worked through the step-by-step of the JavaFX example and all was ok until step 5. This is where you go to the directory java24trainer/java-ee/lesson37 and run "mvn install" command.
I always get an error - BUILD FAILURE. I have checked the PATH settings and it looks ok, with all the necessary paths in there.
The error I get is:
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.346s
[INFO] Finished at: Fri Jun 24 12:18:50 BST 2011
[INFO] Final Memory: 2M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Error resolving version for plugin 'com.practicaljava.maven.plugin:gf-plugin' from the repositories [local (/Users/Patrick/.m2/repository), maven.glassfish.java.net (
http://download.java.net/maven/glassfish), central (
http://repo1.maven.org/maven2)]: Plugin not found in any plugin repository -> [Help 1]
[ERROR]
Also there is a warning before this error is shown, which is:
[WARNING] Some problems were encountered while building the effective model for com.practicaljava:lesson37-javafx-ui:jar:1.0
[WARNING] 'build.plugins.plugin.version' for com.practicaljava.maven.plugin:jfx-plugin is missing. @ line 32, column 21
This error at step 5 also seems to mean step 8 doesn't work, so I'm stuck at this point, which is a shame, as I'd like to see JavaFX in action, having set it up myself.
Any help appreciated.