Skip to content

JavaFX Maven Archetype defaults to outdated JavaFX version #8659

Closed

Description

@chrlns

Apache NetBeans version

Apache NetBeans 26

What happened

I want to create a simple JavaFX Maven project. The project wizard suggests to use

javafx-version 13 
javafx-maven-plugin-version 0.0.4

Both versions are years old, javafx-21 and plugin-version 0.0.8 could be safely used.
Same probably applies to the FXML Archetype.

Language / Project Type / NetBeans Component

Simple JavaFX Maven Archetype

How to reproduce

Select File -> New Project -> Java with Maven -> Simple JavaFX Maven Archetype

Did this work correctly in an earlier version?

No / Don't know

Operating System

MacOS and Debian

JDK

JDK 24

Apache NetBeans packaging

Third-party package

Anything else

No response

Are you willing to submit a pull request?

Yes

Activity

  1. added
    kind:bug
    needs:triage
    on Jul 17, 2025
  2. added
    Maven
    JavaFX
    on Jul 17, 2025
  3. removed
    needs:triage
    on Jul 16, 2026
  4. mbien commented on Jul 16, 2026

    @mbien
    Member

    lets bump those for NB 31. The archetype itself isn't ideal since it sets all three javac flags: source, target and release. It would only require release these days - but I haven't found a better one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    JavaFXMavenkind:bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions