diff --git a/.github/workflows/build-jdk11.yaml b/.github/workflows/build-jdk11.yaml
index 062f35eec77..16e69a1b5f0 100644
--- a/.github/workflows/build-jdk11.yaml
+++ b/.github/workflows/build-jdk11.yaml
@@ -27,8 +27,8 @@ jobs:
cache: maven
- name: Display build environment details
run: mvn --version
- - name: Build project against vanilla Error Prone, compile Javadoc
- run: mvn -T1C install javadoc:jar -Dsurefire.jdk-toolchain-version=11.0.19
+ - name: Build project against vanilla Error Prone
+ run: mvn -T1C install -Dsurefire.jdk-toolchain-version=11.0.19
- name: Build project with self-check against Error Prone fork
run: mvn -T1C clean verify -Perror-prone-fork -Dsurefire.jdk-toolchain-version=11.0.19 -s settings.xml
- name: Remove installed project artifacts
diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml
index 5df6b84646c..32afe06e4aa 100644
--- a/.github/workflows/sonarcloud.yml
+++ b/.github/workflows/sonarcloud.yml
@@ -33,4 +33,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- run: mvn -T1C jacoco:prepare-agent verify jacoco:report sonar:sonar -Dverification.skip -Dsonar.projectKey=PicnicSupermarket_error-prone-support
+ run: mvn -T1C jacoco:prepare-agent verify jacoco:report sonar:sonar -Dversion.jdk.runtime=17 -Dverification.skip -Dsonar.projectKey=PicnicSupermarket_error-prone-support
diff --git a/pom.xml b/pom.xml
index 88abf30dfd3..8a351e3e5b8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -207,7 +207,8 @@
1.0.0
- 11
+ 11
+ 17
3.8.7
5.3.1
1.0.1
@@ -560,7 +561,7 @@
`provided`, but we'd rather not do that.) -->
false
false
- ${version.jdk}
+ ${version.jdk.runtime}
@@ -940,8 +941,8 @@
10000
true
-
- ${version.jdk}
+
+ ${version.jdk.runtime}
false
@@ -1006,7 +1007,7 @@
-->
- ${version.jdk}
+ ${version.jdk.runtime}
true
@@ -1014,7 +1015,7 @@
src/main/resources/**/*.properties,src/test/resources/**/*.properties
- ${version.jdk}
+ ${version.jdk.runtime}
${version.maven}
@@ -1114,7 +1115,7 @@
the compilation phase; no need to recheck during
Javadoc generation. -->
none
-
+
@@ -1317,7 +1318,7 @@
patterns in their `@BeforeTemplate` methods. -->
tech.picnic.errorprone.refasterrules
- ${version.jdk}
+ ${version.jdk.runtime}
@@ -1942,7 +1943,7 @@
org.apache.maven.plugins
maven-compiler-plugin
- 17
+ ${version.jdk.source}