Skip to content

CI: move Ubuntu workflows to JDK 21#323

Merged
jGauravGupta merged 2 commits into
mainfrom
copilot/upgrade-to-apache-netbeans-30
Jun 16, 2026
Merged

CI: move Ubuntu workflows to JDK 21#323
jGauravGupta merged 2 commits into
mainfrom
copilot/upgrade-to-apache-netbeans-30

Conversation

Copilot AI commented May 25, 2026

Copy link
Copy Markdown
Contributor

NetBeans RELEASE300 dependencies are compiled for Java 21, while Ubuntu CI was still provisioning JDK 17. This updates Ubuntu-oriented GitHub Actions workflows to use JDK 21 so CI aligns with the project’s runtime baseline.

  • Main CI workflow (maven.yml)

    • Updated both build and deploy jobs to provision JDK 21 via actions/setup-java@v4.
  • Manual branch build workflow (build_branch.yml)

    • Updated branch build job to provision JDK 21 for Ubuntu-targeted ad hoc builds.
  • Config normalization

    • Kept distribution/caching behavior unchanged; only Java version and step labels were adjusted.
- name: Set up JDK 21
  uses: actions/setup-java@v4
  with:
    java-version: '21'
    distribution: 'temurin'
    cache: maven

Agent-Logs-Url: https://github.com/jeddict/jeddict-ai/sessions/6f9ec6eb-6f0c-4aaf-bc2d-d927091c2fdf

Co-authored-by: jGauravGupta <15934072+jGauravGupta@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Apache NetBeans platform version used across the build by bumping the single netbeans.version Maven property from RELEASE290 to RELEASE300, thereby upgrading the module’s NetBeans dependencies from platform 29 → 30.

Changes:

  • Bump netbeans.version property: RELEASE290RELEASE300
  • Keep all NetBeans module dependency versions centralized via ${netbeans.version} (no additional version pinning introduced)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@stefanofornari

Copy link
Copy Markdown
Collaborator

@jGauravGupta from the logs it looks like NB 30 dropped JDK17 and upgraded to JDK21. This is good time with our change as well. It should be enough to merge the new pipeline script in main to make this PR pass too.

Copilot AI changed the title Upgrade Apache NetBeans dependency to RELEASE300 CI: move Ubuntu workflows to JDK 21 Jun 14, 2026
Copilot AI requested a review from jGauravGupta June 14, 2026 10:02
@jGauravGupta jGauravGupta merged commit 4d1d02f into main Jun 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants