Home

Awesome

maven-javafx-archetype

A Maven Archetype for JavaFX starter projects. For more information, visit the OpenJFX.io project. The code sample in this project is based on the HelloFX example.

Build Status

Requirements

Install the Archetype

Before you can create projects with this archetype, you must clone thhe repository and install it in your local Maven repository. To do so, follow these steps:

git clone https://github.com/brunoborges/maven-javafx-archetype.git
cd maven-javafx-archetype
mvn install

Create a project

Run the following command:

mvn archetype:generate                                  \
  -DarchetypeGroupId=io.brunoborges                     \
  -DarchetypeArtifactId=maven-javafx-archetype          \
  -DarchetypeVersion=11.0.2-SNAPSHOT

Provide input with project information.

Run the project

Go into the project folder, and run:

mvn package exec:java