Skip to content

Commit de7940c

Browse files
authored
Upgrade compile jdk to 17 (#3311)
1 parent 0be192c commit de7940c

22 files changed

+43
-43
lines changed

.github/workflows/integration-tests.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@ jobs:
173173
steps:
174174
- name: Checkout Code
175175
uses: actions/checkout@v3
176-
- name: Set up JDK 11
176+
- name: Set up JDK 17
177177
uses: actions/setup-java@v3
178178
with:
179-
java-version: '11'
179+
java-version: '17'
180180
distribution: 'temurin'
181181
cache: 'maven'
182182

.github/workflows/kubernetes-tests-manual.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
go-version: '^1.16.8'
2929
- run: go version
3030

31-
- name: Set up JDK 11
31+
- name: Set up JDK 17
3232
uses: actions/setup-java@v3
3333
with:
34-
java-version: '11'
34+
java-version: '17'
3535
distribution: 'temurin'
3636
cache: 'maven'
3737

.github/workflows/kubernetes-tests.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
go-version: '^1.16.8'
3636
- run: go version
3737

38-
- name: Set up JDK 11
38+
- name: Set up JDK 17
3939
uses: actions/setup-java@v3
4040
with:
41-
java-version: '11'
41+
java-version: '17'
4242
distribution: 'temurin'
4343
cache: 'maven'
4444

@@ -87,10 +87,10 @@ jobs:
8787
go-version: '^1.16.8'
8888
- run: go version
8989

90-
- name: Set up JDK 11
90+
- name: Set up JDK 17
9191
uses: actions/setup-java@v3
9292
with:
93-
java-version: '11'
93+
java-version: '17'
9494
distribution: 'temurin'
9595
cache: 'maven'
9696

.github/workflows/maven-snapshot-release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
- name: Checkout
99
uses: actions/checkout@v3
1010

11-
- name: Set up JDK 11
11+
- name: Set up JDK 17
1212
uses: actions/setup-java@v3
1313
with:
14-
java-version: '11'
14+
java-version: '17'
1515
distribution: 'temurin'
1616

1717
- name: Set up settings.xml

.github/workflows/new-system-tests.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
- name: Checkout Code with Ref '${{ github.ref }}'
2525
uses: actions/checkout@v3
2626

27-
- name: Set up JDK 11
27+
- name: Set up JDK 17
2828
uses: actions/setup-java@v3
2929
with:
30-
java-version: 11
30+
java-version: 17
3131
distribution: 'temurin'
3232
cache: 'maven'
3333

.github/workflows/publish-debug-image.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up JDK
2222
uses: actions/setup-java@v3
2323
with:
24-
java-version: 11
24+
java-version: 17
2525
distribution: 'temurin'
2626
cache: 'maven'
2727

.github/workflows/registry-rhbq-build.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
if: github.repository_owner == 'Apicurio'
3131
steps:
3232

33-
- name: Set up JDK 11
33+
- name: Set up JDK 17
3434
uses: actions/setup-java@v3
3535
with:
36-
java-version: '11'
36+
java-version: '17'
3737
distribution: 'temurin'
3838

3939
- name: Workaround jackson-coreutils

.github/workflows/release-images.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ jobs:
6969
exit 1
7070
fi
7171
72-
- name: Set up JDK 11
72+
- name: Set up JDK 17
7373
uses: actions/setup-java@v3
7474
with:
75-
java-version: '11'
75+
java-version: '17'
7676
distribution: 'temurin'
7777

7878
- name: Build Project

.github/workflows/release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
with:
3030
node-version: 12
3131

32-
- name: Set up JDK 11
32+
- name: Set up JDK 17
3333
uses: actions/setup-java@v3
3434
with:
35-
java-version: '11'
35+
java-version: '17'
3636
distribution: 'temurin'
3737

3838
- name: Set up settings.xml

.github/workflows/tag-registry-examples.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ jobs:
4141
echo "Release Version: $RELEASE_VERSION"
4242
echo "Snapshot Version: $SNAPSHOT_VERSION"
4343
44-
- name: Set up JDK 11
44+
- name: Set up JDK 17
4545
uses: actions/setup-java@v3
4646
with:
47-
java-version: '11'
47+
java-version: '17'
4848
distribution: 'temurin'
4949

5050
- name: Configure Git

.github/workflows/tool-exportV1-release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-20.04
1313
steps:
1414
- uses: actions/checkout@v3
15-
- name: Set up JDK 11
15+
- name: Set up JDK 17
1616
uses: actions/setup-java@v3
1717
with:
18-
java-version: '11'
18+
java-version: '17'
1919
distribution: 'temurin'
2020
- name: Configure Environment (dispatch)
2121
if: github.event.inputs.tag_name != null

.github/workflows/update-openapi.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
git branch --set-upstream-to=origin/main
2727
git pull
2828
29-
- name: Set up JDK 11
29+
- name: Set up JDK 17
3030
uses: actions/setup-java@v3
3131
with:
32-
java-version: '11'
32+
java-version: '17'
3333
distribution: 'temurin'
3434

3535
- name: Set up Maven

.github/workflows/verify.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,10 @@ jobs:
211211
- name: Checkout Code with Ref '${{ github.ref }}'
212212
uses: actions/checkout@v3
213213

214-
- name: Set up JDK 11
214+
- name: Set up JDK 17
215215
uses: actions/setup-java@v3
216216
with:
217-
java-version: '11'
217+
java-version: '17'
218218
distribution: 'temurin'
219219
cache: 'maven'
220220

@@ -307,10 +307,10 @@ jobs:
307307
- name: Checkout Code with Ref '${{ github.ref }}'
308308
uses: actions/checkout@v3
309309

310-
- name: Set up JDK 11
310+
- name: Set up JDK 17
311311
uses: actions/setup-java@v3
312312
with:
313-
java-version: '11'
313+
java-version: '17'
314314
distribution: 'temurin'
315315
cache: 'maven'
316316

distro/docker/src/main/docker/Dockerfile.jvm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi8/openjdk-11:latest
1+
FROM registry.access.redhat.com/ubi8/openjdk-17:latest
22

33
ENV JAVA_APP_DIR=/deployments \
44
APP_URL="${docker.app.file}" \

distro/docker/src/main/docker/Dockerfile.kafkasql.jvm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi8/openjdk-11:latest
1+
FROM registry.access.redhat.com/ubi8/openjdk-17:latest
22

33
ENV JAVA_APP_DIR=/deployments \
44
APP_URL="${docker.kafkasql.file}" \

distro/docker/src/main/docker/Dockerfile.mssql.jvm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi8/openjdk-11:latest
1+
FROM registry.access.redhat.com/ubi8/openjdk-17:latest
22

33
ENV JAVA_APP_DIR=/deployments \
44
APP_URL="${docker.mssql.file}" \

distro/docker/src/main/docker/Dockerfile.sql.jvm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi8/openjdk-11:latest
1+
FROM registry.access.redhat.com/ubi8/openjdk-17:latest
22

33
ENV JAVA_APP_DIR=/deployments \
44
APP_URL="${docker.sql.file}" \

integration-tests/integration-tests-common/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<name>apicurio-registry-integration-tests-common</name>
1515

1616
<properties>
17-
<maven.compiler.target>11</maven.compiler.target>
18-
<maven.compiler.source>11</maven.compiler.source>
17+
<maven.compiler.target>17</maven.compiler.target>
18+
<maven.compiler.source>17</maven.compiler.source>
1919

2020
<skipTests>true</skipTests>
2121

integration-tests/legacy-tests/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<name>apicurio-registry-legacy-tests</name>
1515

1616
<properties>
17-
<maven.compiler.target>11</maven.compiler.target>
18-
<maven.compiler.source>11</maven.compiler.source>
17+
<maven.compiler.target>17</maven.compiler.target>
18+
<maven.compiler.source>17</maven.compiler.source>
1919
<groups></groups>
2020
<skipTests>true</skipTests>
2121

new-system-tests/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<name>apicurio-registry-new-system-tests</name>
1515

1616
<properties>
17-
<maven.compiler.source>11</maven.compiler.source>
18-
<maven.compiler.target>11</maven.compiler.target>
17+
<maven.compiler.source>17</maven.compiler.source>
18+
<maven.compiler.target>17</maven.compiler.target>
1919
<maven.failsafe.version>3.0.0</maven.failsafe.version>
2020
<maven.surefire.version>3.0.0</maven.surefire.version>
2121
<junit.jupiter.version>5.9.0</junit.jupiter.version>

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@
142142
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
143143
<timestamp>${maven.build.timestamp}</timestamp>
144144

145-
<maven.compiler.source>11</maven.compiler.source>
146-
<maven.compiler.target>11</maven.compiler.target>
145+
<maven.compiler.source>17</maven.compiler.source>
146+
<maven.compiler.target>17</maven.compiler.target>
147147

148148
<tar.long.file.mode>gnu</tar.long.file.mode>
149149

system-tests/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<name>apicurio-registry-system-tests</name>
1414

1515
<properties>
16-
<maven.compiler.source>11</maven.compiler.source>
17-
<maven.compiler.target>11</maven.compiler.target>
16+
<maven.compiler.source>17</maven.compiler.source>
17+
<maven.compiler.target>17</maven.compiler.target>
1818
<version.junit.jupiter>5.8.2</version.junit.jupiter>
1919
<version.junit.platform>1.7.0</version.junit.platform>
2020
<version.fabric8>5.12.2</version.fabric8>

0 commit comments

Comments
 (0)