Skip to content

HTM-1711: Upgrade to Java 25#1642

Merged
mprins merged 1 commit into
mainfrom
HTM-1711_java-25
Mar 12, 2026
Merged

HTM-1711: Upgrade to Java 25#1642
mprins merged 1 commit into
mainfrom
HTM-1711_java-25

Conversation

@mprins

@mprins mprins commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

HTM-1711 Powered by Pull Request Badge

  • set up Java version and update documentation and workflow files
  • ran OpenRewrite recipe Upgrade Java version (no changes)

Developers Note

  • Update your Maven to 3.9.11 (or later 3.9.x version), see https://maven.apache.org/install.html#binary-distribution
  • Update your JDK to 25 (eg. using
    sudo apt install openjdk-25-jdk
    sudo update-java-alternatives --set java-1.25.0-openjdk-amd64
    export JAVA_HOME=/usr/lib/jvm/java-25-openjdk-amd64
    

@mprins mprins self-assigned this Mar 12, 2026
@mprins mprins added documentation Improvements or additions to documentation infrastructure build infrastructure (Maven plugins, CI related, ...) dependency (automated) dependency update breaking possibly breaking changes that need extra attention during upgrade java Pull requests that update java code labels Mar 12, 2026
@github-actions

github-actions Bot commented Mar 12, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA d8cb6cd.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@mprins mprins force-pushed the HTM-1711_java-25 branch from a5eafb7 to f90778e Compare March 12, 2026 11:02
@codecov

codecov Bot commented Mar 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

Impacted file tree graph

@@          Coverage Diff           @@
##             main   #1642   +/-   ##
======================================
- Coverage      78%     78%   -0%     
  Complexity    130     130           
======================================
  Files         157     157           
  Lines        7733    7733           
  Branches      708     708           
======================================
- Hits         6000    5998    -2     
- Misses       1317    1319    +2     
  Partials      416     416           

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mprins mprins changed the title [WIP] HTM-1711: Upgrade to Java 25 [WIP] ⛓️‍💥 HTM-1711: Upgrade to Java 25 Mar 12, 2026
@mprins mprins force-pushed the HTM-1711_java-25 branch 3 times, most recently from 6600eff to 0aff06b Compare March 12, 2026 11:41
@mprins mprins changed the title [WIP] ⛓️‍💥 HTM-1711: Upgrade to Java 25 [WIP] HTM-1711: Upgrade to Java 25 Mar 12, 2026
@mprins mprins removed the breaking possibly breaking changes that need extra attention during upgrade label Mar 12, 2026
@mprins mprins marked this pull request as ready for review March 12, 2026 13:32
Copilot AI review requested due to automatic review settings March 12, 2026 13:32
@mprins mprins changed the title [WIP] HTM-1711: Upgrade to Java 25 HTM-1711: Upgrade to Java 25 Mar 12, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR (HTM-1711) updates the Tailormap API build and CI configuration to target Java 25, aligning local development docs, the Maven Enforcer rules, GitHub Actions workflows, and the devcontainer base image.

Changes:

  • Bump Maven build Java target to 25 and raise the enforced minimum Maven version to 3.9.13.
  • Update GitHub Actions workflows to build/scan with Java 25 and Maven 3.9.13.
  • Update developer documentation and devcontainer to reflect the new Java/Maven baseline.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pom.xml Sets java.version to 25 and raises enforced Maven minimum to 3.9.13.
README.md Updates stated local requirements (Java/Maven/Docker) and QA notes for Java 25.
.github/workflows/ubuntu-maven.yml CI build now runs with Java 25 and Maven 3.9.13.
.github/workflows/trivy.yml Security scan workflow now uses Java 25 and Maven 3.9.13.
.github/workflows/qa.yml QA workflow now uses Java 25 and Maven 3.9.13.
.github/workflows/owasp-dependency-check.yml OWASP dependency check workflow now uses Java 25 and Maven 3.9.13.
.github/workflows/macos-maven.yml macOS CI build now uses Java 25 and Maven 3.9.13.
.github/workflows/copilot-setup-steps.yml Copilot setup workflow now uses Java 25 and Maven 3.9.13.
.github/workflows/codeql.yml CodeQL workflow now uses Java 25 and Maven 3.9.13.
.github/dependabot.yml Adjusts Java-related docker update ignore rules to “stay on Java 25”.
.github/copilot-instructions.md Updates documented development environment to Java 25.
.devcontainer/Dockerfile Updates devcontainer base image to Java 25 and Maven to 3.9.13.

Comment thread README.md Outdated
set up java version and update documentation and workflow files

set up java version and update documentation and workflow files

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@mprins

mprins commented Mar 12, 2026

Copy link
Copy Markdown
Contributor Author

I think this is good to go:

Spring Boot 4 has “First class support for Java 25“: Spring Boot 4.0.0 available now

Hibernate 7.2 supports Java 25: 7.2 series - Hibernate ORM

GeoTools 34.x just works ™

All unit and integration tests pass

@mprins mprins merged commit 37cb4c4 into main Mar 12, 2026
6 checks passed
@mprins mprins deleted the HTM-1711_java-25 branch March 12, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency (automated) dependency update documentation Improvements or additions to documentation infrastructure build infrastructure (Maven plugins, CI related, ...) java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants