Monthly Archives: January 2012

How to build and package JavaFX 2 Application with Maven

I hate Ant, and I can’t begin to work on a project that requires using it.

So like many people I want to build my brand new JavaFX 2 applications with the best toolchain available for Java : Maven.

I planned to create a custom maven-plugin to do the job, but by using existing ones we can do it.
Some things must be improved but the essential works.

The results is a zip file containing all dependencies (jar) with a jnlp file used to launch the application online or offline.

Continue reading