Skip to content

Commit fb7d5d8

Browse files
committed
Migrate to OpenJDK 21
1 parent e5f2fd7 commit fb7d5d8

7 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
steps:
3333
- uses: actions/checkout@v4
3434

35-
- name: Set up JDK 11
35+
- name: Set up JDK 21
3636
uses: actions/setup-java@v3
3737
with:
38-
java-version: '11'
38+
java-version: '21'
3939
distribution: 'adopt'
4040
architecture: x64
4141
cache: maven

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ jobs:
205205
- name: Set up JDK
206206
uses: actions/setup-java@v3
207207
with:
208-
java-version: '11'
208+
java-version: '21'
209209
distribution: 'adopt'
210210
architecture: x64
211211
cache: maven

.github/workflows/codecov.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
with:
3737
fetch-depth: 0
3838

39-
- name: Set up JDK11
39+
- name: Set up JDK21
4040
uses: actions/setup-java@v3
4141
with:
4242
distribution: 'temurin'
43-
java-version: '11'
43+
java-version: '21'
4444
cache: 'maven'
4545

4646
- name: Build CloudStack with Quality Checks

.github/workflows/main-sonar-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
with:
3737
fetch-depth: 0
3838

39-
- name: Set up JDK11
39+
- name: Set up JDK17
4040
uses: actions/setup-java@v3
4141
with:
4242
distribution: 'temurin'
43-
java-version: '11'
43+
java-version: '17'
4444
cache: 'maven'
4545

4646
- name: Cache SonarCloud packages

.github/workflows/rat.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
runs-on: ubuntu-22.04
3232
steps:
3333
- uses: actions/checkout@v4
34-
- name: Set up JDK 11
34+
- name: Set up JDK 21
3535
uses: actions/setup-java@v3
3636
with:
37-
java-version: '11'
37+
java-version: '21'
3838
distribution: 'adopt'
3939
architecture: x64
4040
cache: maven

.github/workflows/sonar-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
ref: "refs/pull/${{ github.event.number }}/merge"
3939
fetch-depth: 0
4040

41-
- name: Set up JDK11
41+
- name: Set up JDK21
4242
uses: actions/setup-java@v3
4343
with:
4444
distribution: 'temurin'
45-
java-version: '11'
45+
java-version: '21'
4646
cache: 'maven'
4747

4848
- name: Cache SonarCloud packages

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
5656

5757
<!-- Build properties -->
58-
<cs.jdk.version>17</cs.jdk.version>
58+
<cs.jdk.version>21</cs.jdk.version>
5959
<cs.target.dir>target</cs.target.dir>
6060
<cs.replace.properties>build/replace.properties</cs.replace.properties>
6161
<argLine>-Djava.security.egd=file:/dev/./urandom -noverify</argLine>
@@ -153,8 +153,8 @@
153153
<cs.jaxb.version>2.3.0</cs.jaxb.version>
154154
<cs.jaxws.version>2.3.2-1</cs.jaxws.version>
155155
<cs.jersey-client.version>2.26</cs.jersey-client.version>
156-
<cs.jetty.version>9.4.51.v20230217</cs.jetty.version>
157-
<cs.jetty-maven-plugin.version>9.4.27.v20200227</cs.jetty-maven-plugin.version>
156+
<cs.jetty.version>9.4.53.v20231009</cs.jetty.version>
157+
<cs.jetty-maven-plugin.version>9.4.53.v20231009</cs.jetty-maven-plugin.version>
158158
<cs.jna.version>5.5.0</cs.jna.version>
159159
<cs.joda-time.version>2.12.5</cs.joda-time.version>
160160
<cs.jpa.version>2.2.1</cs.jpa.version>

0 commit comments

Comments
 (0)