Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.32 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.32 KB

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

  • Maven 3 (or later)
  • OpenJDK 11 (or later)

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