diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index fd61ce495e..ebed8e8e96 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -10,7 +10,7 @@ on:
jobs:
build-all:
- name: Compile (no tests) with JDK 11
+ name: Compile (no tests) with JDK 17
runs-on: ubuntu-latest
steps:
- uses: n1hility/cancel-previous-runs@v2
@@ -23,11 +23,11 @@ jobs:
restore-keys: |
m2-
- uses: actions/checkout@v2
- - name: Set up JDK 11
+ - name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: temurin
- java-version: 11
+ java-version: 17
- name: Generate settings.xml for Maven Builds
uses: whelk-io/maven-settings-xml-action@v20
with:
@@ -60,7 +60,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
module: [core]
- jdk: [11, 17, 21]
+ jdk: [17, 21]
openjdk_impl: [ temurin ]
steps:
- name: Update hosts - linux
@@ -122,7 +122,7 @@ jobs:
os: [ubuntu-latest]
module: [core, servlet, websockets-jsr]
proxy: ['-Pproxy', '']
- jdk: [11]
+ jdk: [17]
steps:
- name: Update hosts - linux
if: matrix.os == 'ubuntu-latest'
diff --git a/pom.xml b/pom.xml
index cc0adceb55..1e59945018 100644
--- a/pom.xml
+++ b/pom.xml
@@ -105,8 +105,9 @@
5.1.1
1.21
- 11
- 11
+ 17
+ ${maven.compiler.release}
+ ${maven.compiler.release}
true
false
false