Skip to content

Commit 8ca583d

Browse files
ericbottardilayaperumalg
authored andcommitted
Use Java 21(+) for main branch
Signed-off-by: Eric Bottard <[email protected]>
1 parent 24795dd commit 8ca583d

11 files changed

+32
-22
lines changed

.github/workflows/artifactory-milestone-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up JDK
1919
uses: actions/setup-java@v4
2020
with:
21-
java-version: '25'
21+
java-version: '21'
2222
distribution: 'temurin'
2323
cache: 'maven'
2424

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Set up JDK
4949
uses: actions/setup-java@v4
5050
with:
51-
java-version: '25'
51+
java-version: '21'
5252
distribution: 'temurin'
5353
cache: 'maven'
5454

.github/workflows/documentation-upload.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up JDK
2222
uses: actions/setup-java@v4
2323
with:
24-
java-version: '25'
24+
java-version: '21'
2525
distribution: 'temurin'
2626
cache: 'maven'
2727

.github/workflows/fast-continuous-integration.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Set up JDK
3131
uses: actions/setup-java@v4
3232
with:
33-
java-version: '25'
33+
java-version: '21'
3434
distribution: 'temurin'
3535
cache: 'maven'
3636

@@ -65,7 +65,7 @@ jobs:
6565
- name: Set up JDK
6666
uses: actions/setup-java@v4
6767
with:
68-
java-version: '25'
68+
java-version: '21'
6969
distribution: 'temurin'
7070
cache: 'maven'
7171

@@ -102,7 +102,7 @@ jobs:
102102
- name: Set up JDK
103103
uses: actions/setup-java@v4
104104
with:
105-
java-version: '25'
105+
java-version: '21'
106106
distribution: 'temurin'
107107
cache: 'maven'
108108

@@ -139,7 +139,7 @@ jobs:
139139
- name: Set up JDK
140140
uses: actions/setup-java@v4
141141
with:
142-
java-version: '25'
142+
java-version: '21'
143143
distribution: 'temurin'
144144
cache: 'maven'
145145

@@ -176,7 +176,7 @@ jobs:
176176
- name: Set up JDK
177177
uses: actions/setup-java@v4
178178
with:
179-
java-version: '25'
179+
java-version: '21'
180180
distribution: 'temurin'
181181
cache: 'maven'
182182

@@ -219,7 +219,7 @@ jobs:
219219
- name: Set up JDK
220220
uses: actions/setup-java@v4
221221
with:
222-
java-version: '25'
222+
java-version: '21'
223223
distribution: 'temurin'
224224
cache: 'maven'
225225

@@ -248,7 +248,7 @@ jobs:
248248
- name: Set up JDK
249249
uses: actions/setup-java@v4
250250
with:
251-
java-version: '25'
251+
java-version: '21'
252252
distribution: 'temurin'
253253
cache: 'maven'
254254

.github/workflows/main-push-fast.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
5454
- uses: actions/setup-java@v4
5555
with:
56-
java-version: '25'
56+
java-version: '21'
5757
distribution: 'temurin'
5858
# cache: 'maven' # Disabled for fast workflow - reduces post-job noise
5959

.github/workflows/maintenance-fast.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- uses: actions/setup-java@v4
2222
with:
23-
java-version: '25'
23+
java-version: '21'
2424
distribution: 'temurin'
2525
cache: 'maven'
2626

.github/workflows/pr-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up JDK
1818
uses: actions/setup-java@v4
1919
with:
20-
java-version: '25'
20+
java-version: '21'
2121
distribution: 'temurin'
2222
cache: 'maven'
2323

.github/workflows/release-notes-generation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up JDK
2727
uses: actions/setup-java@v4
2828
with:
29-
java-version: '25'
29+
java-version: '21'
3030
distribution: 'temurin'
3131

3232
- name: Prepare configuration file

.sdkmanrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Enable auto-env through the sdkman_auto_env config
2+
# Add key=value pairs of SDKs to use below
3+
java=21.0.9-tem

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ To clone it you have to either:
7171

7272
## Building
7373

74-
The project targets and build artifacts compatible with Java 17+, but requires a JDK 25+
74+
The project targets and build artifacts compatible with Java 17+, but requires JDK 21
7575
to build. This is enforced by the maven enforcer plugin.
7676

7777
To build with running unit tests

0 commit comments

Comments
 (0)