JavaFX Maven Project

Example Maven Project for a JavaFX Application.

Update 05.09.2026: Updated dependencies and verified the build with JDK 25 (OpenJDK 25.0.4.1) and JavaFX 25.0.4.

Update 14.10.2024: Updated dependencies and tested Java 25 successful.

Update 03.02.2025: Updated dependencies and tested Java 22 and 23 successful.

This projects includes multiple plugins:

  • Build of an App-Image using JPackage (Profile: image)
  • Build of an fat jar (Profile: fatjar)
  • Use of Maven Wrapper
  • Static code analysis with PMD and Spotbugs
  • Check of dependency updates during build
  • JavaFX plugin to start application

Requirements To use this Template, all you need is a local Java Installation. The project targets Java 25 (<java.version>25</java.version>). JavaFX 25 requires JDK 23 or later. My current advice for general production use is still a long term supported (LTS) version of either Java 17 or Java 21.

Documentation in English

Dokumentation in Deutsch

Important: ChatGPT was utilized to generate the documentation based on predefined content specifications, as it represents the fastest way to produce comprehensive documentation.

S
Description
JavaFX Maven App
Readme
294 KiB
Languages
Java 100%