2 Commits
3 changed files with 22 additions and 23 deletions
+1
View File
@@ -4,3 +4,4 @@ target
debug.out debug.out
/nbactions.xml /nbactions.xml
.DS_Store .DS_Store
dependency-reduced-pom.xml
+6 -8
View File
@@ -2,14 +2,12 @@
Example Maven Project for a JavaFX Application. 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. **Update 03.02.2025**: Updated dependencies and tested Java 22 and 23 successful.
**Update**: Added profile fatjar
**Update**: Added reporting to create a site (html documentation of project)
**Update**: Java 21 is now fully supported
This projects includes multiple plugins: This projects includes multiple plugins:
- Build of an App-Image using JPackage (Profile: image) - Build of an App-Image using JPackage (Profile: image)
- Build of an fat jar (Profile: fatjar) - Build of an fat jar (Profile: fatjar)
@@ -19,8 +17,8 @@ This projects includes multiple plugins:
- JavaFX plugin to start application - JavaFX plugin to start application
**Requirements** **Requirements**
To use this Template, all you need is a local Java Installation. To use this Template, all you need is a local Java Installation.
My current advice is to use a long term supported (LTS) version of either Java 17 or Java 21. 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](documentation/en/_Index.md)** **[Documentation in English](documentation/en/_Index.md)**
+15 -15
View File
@@ -23,32 +23,32 @@
<jar.filename>${project.artifactId}-${project.version}</jar.filename> <jar.filename>${project.artifactId}-${project.version}</jar.filename>
<!-- Dependency versions --> <!-- Dependency versions -->
<javafx.version>25.0.1</javafx.version> <javafx.version>25.0.4</javafx.version>
<jetbrains.annotations.version>26.0.2-1</jetbrains.annotations.version> <jetbrains.annotations.version>26.1.0</jetbrains.annotations.version>
<junit.version>6.0.1</junit.version> <junit.version>6.1.3</junit.version>
<lombok.version>1.18.42</lombok.version> <lombok.version>1.18.48</lombok.version>
<mockito.version>5.20.0</mockito.version> <mockito.version>5.23.0</mockito.version>
<!-- Plugin dependencies --> <!-- Plugin dependencies -->
<codehaus.version.plugin>2.20.1</codehaus.version.plugin> <codehaus.version.plugin>2.21.0</codehaus.version.plugin>
<javafx.maven.plugin>0.0.8</javafx.maven.plugin> <javafx.maven.plugin>0.0.8</javafx.maven.plugin>
<jpackage.maven.plugin>0.1.5</jpackage.maven.plugin> <jpackage.maven.plugin>0.1.5</jpackage.maven.plugin>
<maven.clean.plugin>3.5.0</maven.clean.plugin> <maven.clean.plugin>3.5.0</maven.clean.plugin>
<maven.compiler.plugin>3.14.1</maven.compiler.plugin> <maven.compiler.plugin>3.16.0</maven.compiler.plugin>
<maven.dependency.plugin>3.9.0</maven.dependency.plugin> <maven.dependency.plugin>3.11.0</maven.dependency.plugin>
<maven.deploy.plugin>3.1.4</maven.deploy.plugin> <maven.deploy.plugin>3.1.4</maven.deploy.plugin>
<maven.enforcer.plugin>3.6.2</maven.enforcer.plugin> <maven.enforcer.plugin>3.6.3</maven.enforcer.plugin>
<maven.install.plugin>3.1.4</maven.install.plugin> <maven.install.plugin>3.1.4</maven.install.plugin>
<maven.jar.plugin>3.5.0</maven.jar.plugin> <maven.jar.plugin>3.5.1</maven.jar.plugin>
<maven.javadoc.plugin>3.12.0</maven.javadoc.plugin> <maven.javadoc.plugin>3.12.0</maven.javadoc.plugin>
<maven.project.info.reports.plugin>3.9.0</maven.project.info.reports.plugin> <maven.project.info.reports.plugin>3.9.0</maven.project.info.reports.plugin>
<maven.resources.plugin>3.4.0</maven.resources.plugin> <maven.resources.plugin>3.5.0</maven.resources.plugin>
<maven.shade.plugin>3.6.1</maven.shade.plugin> <maven.shade.plugin>3.6.2</maven.shade.plugin>
<maven.site.plugin>3.21.0</maven.site.plugin> <maven.site.plugin>3.21.0</maven.site.plugin>
<maven.surfire.plugin>3.5.4</maven.surfire.plugin> <maven.surfire.plugin>3.6.0</maven.surfire.plugin>
<maven.pmd.plugin>3.28.0</maven.pmd.plugin> <maven.pmd.plugin>3.28.0</maven.pmd.plugin>
<spotbugs.maven.plugin>4.9.8.2</spotbugs.maven.plugin> <spotbugs.maven.plugin>4.10.4.1</spotbugs.maven.plugin>
<spotbugs.version>4.9.8</spotbugs.version> <spotbugs.version>4.10.4</spotbugs.version>
<!-- other properties --> <!-- other properties -->
<pmd.target>pmd</pmd.target> <!-- Set to 'pmd' if pmd should not fail on issues. Set to 'check' if you want build to fail when issues found --> <pmd.target>pmd</pmd.target> <!-- Set to 'pmd' if pmd should not fail on issues. Set to 'check' if you want build to fail when issues found -->