Maven support for DataFX

At Devoxx I met Johan Vos and we talked about DataFX and Maven support. Now two weeks later we released DataFX 1.0 with Maven support and I am a official contributor of this great project. Thanks to Johan and Jonathan!

With this post I will give a short “Getting Started” documentation for everyone who wants to use DataFX in a Maven based project.

You can easily add a dependency to DataFX 1.0 to any Maven project. With doing so a JavaFX 2.2 dependency is added to your project, too. Just add the following dependency to your Maven pom:

<dependency>
   <groupId>org.javafxdata</groupId>
   <artifactId>datafx-core</artifactId>
   <version>1.0</version>
</dependency>

Since all datafx-core artifacts are available at Maven Central Repository the provision of DataFX will work automatically.

If you are interested in how we added JavaFX as a dependency to DataFX you can read here about it.

This description shows how to add DataFX to your dependency hierarchy. If you want to run or distribute your application we recommend this Maven plugin that provides a lot of functionality to a JavaFX Maven project. You can find a tutorial about this plugin here.

I hope you like the way how we integrated Maven support to DataFX and it this will help you creating cool JavaFX apps.

One Response to Maven support for DataFX

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>