Skip to content

docs: add JavaFX Maven project configuration instructions - #1044

Merged
brunoborges merged 3 commits into
mainfrom
copilot/add-config-instructions-javafx-maven
Jun 22, 2026
Merged

brunoborges merged 3 commits into
mainfrom
copilot/add-config-instructions-javafx-maven

Conversation

Copilot AI commented Jun 22, 2026 •

Copy link
Copy Markdown
Contributor

No documentation existed for using setup-java with JavaFX Maven projects, despite the feature being supported via java-package: jdk+fx.

Changes:

  • Added ### JavaFX Maven project subsection under ## Installing custom Java package type in docs/advanced-usage.md
    • Explains use of java-package: jdk+fx (or jre+fx) with supported distributions (zulu, liberica)
    • References the openjfx.io Getting Started guide for pom.xml setup
    • Includes workflow snippets for mvn compile and mvn javafx:run
  • Updated table of contents to include the new subsection

Example workflow snippet:

- uses: actions/setup-java@v5
  with:
    distribution: 'zulu'
    java-version: '21'
    java-package: jdk+fx
    cache: maven
- name: Build with Maven
  run: mvn --no-transfer-progress compile

Related issue:
Closes #568

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

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

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Add config instructions on JavaFX Maven project

3 participants