Migrate to Java 25
Migrates a jEAP application from an earlier Java version to Java 25.
Usage
Navigate to the root directory of your jEAP project and run:
jeap migrate java-25
What It Does
The migration performs the following steps:
Required Steps
These steps must succeed for the migration to complete:
- Update jEAP Parent - Updates the jEAP parent POM to the latest version using Maven's versions plugin
- Set Java Version - Updates
java.versionandmaven.compiler.releaseproperties inpom.xmlto 25 - Update Maven Wrapper - Updates the Maven Wrapper to the latest version
Optional Steps
These steps are executed if applicable to your project. Failures are logged as warnings but do not abort the migration:
-
Update Jenkinsfile Maven Image - Updates Maven build images in Jenkinsfile:
eclipse-temurin→ tag25eclipse-temurin-node→ tag25-node-22eclipse-temurin-node-extras→ tag25-node-22-browsers
-
Update Dockerfile Java Version - Updates base images in Dockerfiles:
eclipse-temurin→ tag25-jre-ubi9-minimaljeap-runtime-coretto→ tag25.20251119043107
-
Update JIB Base Image - Updates the Maven JIB plugin configuration to use
amazoncorretto:25-al2023-headless -
Update GitHub Actions Codebuild Image - Updates jEAP codebuild images in GitHub Actions workflows to use tag
25-node-22
Prerequisites
- The project must be a Maven-based jEAP application