Skip to content

Commit 9393a9a

Browse files
committed
chore: Upgrade Java version from 17 to 21
Update Java version to 21 across the project: - pom.xml: Update java.version property to 21 - maven-test.yml: Update JDK setup to version 21 - maven-publish.yml: Update JDK setup to version 21 This ensures consistency between project configuration and CI/CD pipelines.
1 parent 12735b7 commit 9393a9a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/maven-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
- name: Checkout code
1919
uses: actions/checkout@v4
2020

21-
- name: Set up JDK 17
21+
- name: Set up JDK 21
2222
uses: actions/setup-java@v4
2323
with:
24-
java-version: '17'
24+
java-version: '21'
2525
distribution: 'temurin'
2626
cache: 'maven'
2727

.github/workflows/maven-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- name: Checkout code
1717
uses: actions/checkout@v4
1818

19-
- name: Set up JDK 17
19+
- name: Set up JDK 21
2020
uses: actions/setup-java@v4
2121
with:
22-
java-version: '17'
22+
java-version: '21'
2323
distribution: 'temurin'
2424
cache: 'maven'
2525

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<description>Play with Spring Boot</description>
2020

2121
<properties>
22-
<java.version>17</java.version>
22+
<java.version>21</java.version>
2323
<hazelcast.version>5.4.0</hazelcast.version>
2424
</properties>
2525

0 commit comments

Comments
 (0)