Skip to content

Commit 498701b

Browse files
committed
deps: Use JDK 25 (LTS)
https://www.keycloak.org/server/supported-configurations > To benefit from the latest performance improvements, we suggest using the latest supported JDK version for production deployments. This is currently OpenJDK 25.
1 parent 2969cd9 commit 498701b

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ jobs:
4444
with:
4545
envFile: '.env'
4646

47-
- name: Set up JDK 21
47+
- name: Set up JDK 25
4848
uses: actions/setup-java@v5.6.0
4949
with:
50-
java-version: "21"
50+
java-version: "25"
5151
distribution: "temurin"
5252
cache: maven
5353

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
with:
1818
envFile: '.env'
1919

20-
- name: Set up JDK 21
20+
- name: Set up JDK 215
2121
uses: actions/setup-java@v5.6.0
2222
with:
23-
java-version: "21"
23+
java-version: "25"
2424
distribution: "temurin"
2525
cache: maven
2626

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax = docker/dockerfile:1.2
22

3-
FROM maven:3-eclipse-temurin-21 AS builder
3+
FROM maven:3-eclipse-temurin-25 AS builder
44
# build a custom extensions for keycloak using maven
55

66
WORKDIR /build

src/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ This is emitted when a user deletes their account. Product Opener uses this even
2525
A JDK is required along with Maven. The versions should match the builder image used in the `Dockerfile`, e.g.
2626

2727
```Dockerfile
28-
FROM maven:3-eclipse-temurin-21 AS builder
28+
FROM maven:3-eclipse-temurin-25 AS builder
2929
```
3030

31-
Uses Maven version 3 with version 21 of the JDK.
31+
Uses Maven version 3 with version 25 of the JDK.
3232

3333
Note that if the `keycloak.version` property is changed you will need to run `make update_keycloak_version` to update the other version numbers in the `pom.xml` file and refresh themes and messages.
3434

0 commit comments

Comments
 (0)