Updated for Java 8 and latest JavaFx maven plugin.