diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 662f0e154..d35664e2d 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/setup-java@v5 with: distribution: 'corretto' - java-version: '11' + java-version: '17' - name: Verify run: ./mvnw -B -ntp clean verify -DskipTests -Dgpg.skip=true @@ -28,7 +28,7 @@ jobs: - uses: actions/setup-java@v5 with: distribution: 'corretto' - java-version: '11' + java-version: '17' - name: Run Tests run: ./mvnw -B -ntp test -Ddocker.tests=true @@ -42,7 +42,7 @@ jobs: - uses: actions/setup-java@v5 with: distribution: 'corretto' - java-version: '11' + java-version: '17' - name: Run Tests run: ./mvnw -B -ntp test @@ -54,6 +54,6 @@ jobs: - uses: actions/setup-java@v5 with: distribution: 'corretto' - java-version: '11' + java-version: '17' - name: Run Tests run: ./mvnw.cmd -B -ntp test diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 1c1a65b4a..ad1972938 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/setup-java@v5 with: distribution: 'corretto' - java-version: '11' + java-version: '17' - name: Grant Permission run: chmod +x ./mvnw - name: Compile and API compatibility check diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 61a73756f..4fbe3f213 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: - uses: actions/setup-java@v5 with: distribution: 'corretto' - java-version: '11' + java-version: '17' - name: Grant Permission run: chmod +x ./mvnw diff --git a/pom.xml b/pom.xml index 487387f56..898e7907b 100644 --- a/pom.xml +++ b/pom.xml @@ -40,9 +40,7 @@ - 11 - 11 - 11 + 17 UTF-8 4.2.15.Final @@ -303,8 +301,6 @@ maven-compiler-plugin 3.15.0 - 11 - 11 UTF-8 -XDcompilePolicy=simple @@ -338,6 +334,7 @@ ${nullaway.version} + ${java.version} @@ -544,6 +541,7 @@ org.apache.maven.plugins maven-compiler-plugin + 3.15.0 --should-stop=ifError=FLOW