FEST’s JavaFX Compiler Maven Plug-in 1.0b1

by Алекс Руис on May 19, 2010

I’m proud to announce the release of FEST’s JavaFX Compiler Maven plug-in 1.0b1!

This plug-in compiles JavaFX source and test files.


  • Compiles JavaFX source and test files
  • Does not require JavaFX distribution to be in a Maven repository (according to its license, only Oracle can distribute JavaFX)
  • Does not require to list all JavaFX libraries as dependencies in your pom.xml



The listing above will:

  1. call the “compile” goal in the standard Maven “compile” phase.
  2. call the “testCompile” goal in the standard Maven “test-compile” phase.

As a result, if we execute “mvn test” both JavaFX sources and test sources will compiled automatically.

Release Notes

New Feature

  • [FEST-314] – Create test-compile goal for JavaFX Maven plugin.


  • Change JDK version to 1.6.
  • Renamed artifactId to javafxc-maven-plugin.

The FEST JavaFX Maven plugin can be obtained from our Maven Repository.


Feedback is always appreciated :)

{ 3 comments… read them below or add one }

thomas July 4, 2010 at 11:48 am


i use your javafx maven plugin. Unfortunately I can’t get NetBeans to recognize sources under src/main/javafx. Do you know about any workaround?




Alex Ruiz July 4, 2010 at 8:31 pm

Hi Thomas,

That is how the Netbeans plugin currently works. We can have either a JavaFX project or a Maven project but not a single project including both technologies.

Unfortunately, I haven’t found a workaround. I might be able to find some more info. I’ll keep you posted if I find anything useful :)



Antoine Mischler August 5, 2010 at 1:39 am


The get both the javafx and the maven nature in a Netbeans project you can use the following workaround:
* create a JavaFX project
* update your build.xml to add the maven dependencies to the project libraries with the maven ant task (as explained here: http://www.intermedia.uio.no/pages/viewpage.action?pageId=43516820)
Note: this will not update the source path configuration of the netbeans project, you will still have to do it manually.



Leave a Comment

{ 4 trackbacks }

Previous post:

Next post: