In Oracle\'s JavaFX Scene Builder it is possible to specify which Java class will be used as the controller for a scene. It\'s member variables will be populated by the
I've shared an example for usage of maven-resources-plugin
in maven-java-fx projects at below link.
https://stackoverflow.com/a/33057082/2017822 [JavaFx scenebuilder and Maven Integration]
As of right now, this is not possible. There's a feature request to add the functionality in the future:
https://javafx-jira.kenai.com/browse/DTL-5124
As a workaround, you might be able to configure the maven-resources-plugin
to include your source directory as a resource directory:
http://maven.apache.org/plugins/maven-resources-plugin/
If you're using Gradle and Intellij IDEA 13, be aware of this issue:
http://youtrack.jetbrains.com/issue/IDEA-118280#comment=27-654638