From 05b9ba1e0f542eae1db86d59e701fb6047c22372 Mon Sep 17 00:00:00 2001
From: vkalapov <87693906+vkalapov@users.noreply.github.com>
Date: Thu, 19 Feb 2026 14:26:40 +0200
Subject: [PATCH 1/4] Migrate to Java 25
LMCROSSITXSADEPLOY-3390
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index c4e1cd608e..ee4e5aee0f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -118,8 +118,8 @@
maven-compiler-plugin
3.14.1
- 17
- 17
+ 25
+ 25
From d58166f6c50531a12a21d092fb39077298fa29a0 Mon Sep 17 00:00:00 2001
From: vkalapov <87693906+vkalapov@users.noreply.github.com>
Date: Thu, 19 Feb 2026 16:03:48 +0200
Subject: [PATCH 2/4] Adopt Java 25 for Github workflow
---
.github/workflows/codeql.yml | 2 +-
.github/workflows/main.yml | 4 ++--
.github/workflows/pull-request-build.yml | 4 ++--
.github/workflows/sonar-scan.yml | 4 ++--
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 8922017df1..683b499ea4 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -51,7 +51,7 @@ jobs:
- name: Setup Java JDK
uses: actions/setup-java@v3
with:
- java-version: 17
+ java-version: 25
distribution: 'zulu'
# Initializes the CodeQL tools for scanning.
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index a5efa596ec..d96df78687 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- - name: Set up JDK 17
+ - name: Set up JDK 25
uses: actions/setup-java@v3
with:
- java-version: '17'
+ java-version: '25'
distribution: 'zulu'
- name: Build and Run Unit Tests
diff --git a/.github/workflows/pull-request-build.yml b/.github/workflows/pull-request-build.yml
index 36810ef1d3..9e4f50067a 100644
--- a/.github/workflows/pull-request-build.yml
+++ b/.github/workflows/pull-request-build.yml
@@ -12,10 +12,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- - name: Set up JDK 17
+ - name: Set up JDK 25
uses: actions/setup-java@v3
with:
- java-version: '17'
+ java-version: '25'
distribution: 'zulu'
- name: Cache Maven packages
diff --git a/.github/workflows/sonar-scan.yml b/.github/workflows/sonar-scan.yml
index 6da9a34afe..75e284574d 100644
--- a/.github/workflows/sonar-scan.yml
+++ b/.github/workflows/sonar-scan.yml
@@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- - name: Set up JDK 17
+ - name: Set up JDK 25
uses: actions/setup-java@v3
with:
- java-version: '17'
+ java-version: '25'
distribution: 'zulu'
- name: Build and Analyze Code Coverage
From 215d6612c7a6d831879550871f028c62e6d0e345 Mon Sep 17 00:00:00 2001
From: vkalapov <87693906+vkalapov@users.noreply.github.com>
Date: Mon, 23 Feb 2026 10:01:22 +0200
Subject: [PATCH 3/4] Adopt Java 25 in README
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index b0e8c70cde..991574a317 100644
--- a/README.md
+++ b/README.md
@@ -48,9 +48,9 @@ The result from the build of this component is a WAR file which is the deployabl
*WARNING*: With [Issue 117](https://github.com/cloudfoundry-incubator/multiapps-cli-plugin/issues/117) the master branch of this repository as well as other artifacts will be renamed. Adaptation to any CI/CD infrastructure & scripts will be required.
## Build tools
-All components are built with Java 17 and [Apache Maven](http://maven.apache.org/), version `3.9.6` or newer.
+All components are built with Java 25 and [Apache Maven](http://maven.apache.org/), version `3.9.6` or newer.
-Make sure that your Maven is configured to use Java 17 by configuring the `JAVA_HOME` env to point to the correct Java JDK.
+Make sure that your Maven is configured to use Java 25 by configuring the `JAVA_HOME` env to point to the correct Java JDK.
## Compiling and Packaging
To build all components, run the following command from the root directory of the project:
```
From a04eb6343d435b735d9b4b3d2990e17b3abf9278 Mon Sep 17 00:00:00 2001
From: vkalapov <87693906+vkalapov@users.noreply.github.com>
Date: Thu, 26 Feb 2026 10:51:24 +0200
Subject: [PATCH 4/4] Adopt Java 25 in manifest
---
multiapps-controller-web/manifests/manifest.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/multiapps-controller-web/manifests/manifest.yml b/multiapps-controller-web/manifests/manifest.yml
index 29f072d8ce..fd5e11285d 100644
--- a/multiapps-controller-web/manifests/manifest.yml
+++ b/multiapps-controller-web/manifests/manifest.yml
@@ -16,7 +16,7 @@ applications:
XS_TYPE: CF
DB_TYPE: POSTGRESQL
CATALINA_OPTS: "-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true"
- JBP_CONFIG_SAP_MACHINE_JRE: '{ jre: { version: "17.+" } }'
+ JBP_CONFIG_SAP_MACHINE_JRE: '{ jre: { version: "25.+" } }'
JBP_CONFIG_TOMCAT: '{ tomcat: { version: 10.+ } }'
JBP_CONFIG_COMPONENTS: '{jres: ["JavaBuildpack::Jre::SapMachineJRE"]}'
JAVA_OPTS: '-XX:+HeapDumpOnOutOfMemoryError -XX:MaxDirectMemorySize=192m -Xshare:off -XX:MaxMetaspaceSize=300m -XX:+ErrorFileToStdout -XX:TrimNativeHeapInterval=10000 -Dio.netty.noPreferDirect=true -Dio.netty.maxDirectMemory=0'