From cf71c396dd9011801839c3a2dfd792326822b73f Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Mon, 16 Oct 2023 13:24:46 +0200 Subject: [PATCH] Require JDK 11 and support JDK 21 at build time (#310) * Support JDK 21 * Update groovy to latest * Drop jdk 8, add jdk 11 and 21 --- its/.github/workflows/maven-verify.yml | 2 +- .../src/test/resources-filtered/bootstrap.txt | 4 +-- .../src/test/resources/mng-7045/pom.xml | 4 +-- its/pom.xml | 26 +++++++++++++++++++ 4 files changed, 31 insertions(+), 5 deletions(-) diff --git a/its/.github/workflows/maven-verify.yml b/its/.github/workflows/maven-verify.yml index d59fd67454..7b15dd4ae4 100644 --- a/its/.github/workflows/maven-verify.yml +++ b/its/.github/workflows/maven-verify.yml @@ -31,7 +31,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - java: [8, 17] + java: [11, 17, 21] fail-fast: false runs-on: ${{ matrix.os }} diff --git a/its/core-it-suite/src/test/resources-filtered/bootstrap.txt b/its/core-it-suite/src/test/resources-filtered/bootstrap.txt index 439d9fe745..0422df0a32 100644 --- a/its/core-it-suite/src/test/resources-filtered/bootstrap.txt +++ b/its/core-it-suite/src/test/resources-filtered/bootstrap.txt @@ -16,8 +16,8 @@ junit:junit:4.12 org.apache.ant:ant:1.10.8 org.apache.commons:commons-text:1.10.0 org.apache.geronimo.specs:geronimo-jcdi_2.0_spec:1.3 -org.apache.groovy:groovy-ant:4.0.6 -org.apache.groovy:groovy:4.0.6 +org.apache.groovy:groovy-ant:4.0.15 +org.apache.groovy:groovy:4.0.15 org.apache.maven.extensions:maven-extensions:40:pom org.apache.maven.its.plugins.class-loader:dep-c:${project.version} org.apache.maven.its.plugins:maven-it-plugin-active-collection:${project.version} diff --git a/its/core-it-suite/src/test/resources/mng-7045/pom.xml b/its/core-it-suite/src/test/resources/mng-7045/pom.xml index 48848f66e0..0ab9bb2c27 100644 --- a/its/core-it-suite/src/test/resources/mng-7045/pom.xml +++ b/its/core-it-suite/src/test/resources/mng-7045/pom.xml @@ -43,13 +43,13 @@ javax.enterprise.inject.Instance.class.getDeclaredMethod("stream")]]> org.apache.groovy groovy-ant - 4.0.6 + 4.0.15 runtime org.apache.groovy groovy - 4.0.6 + 4.0.15 runtime diff --git a/its/pom.xml b/its/pom.xml index 29dc3422f7..43809b5c82 100644 --- a/its/pom.xml +++ b/its/pom.xml @@ -151,6 +151,32 @@ under the License. + + + com.diffplug.spotless + spotless-maven-plugin + 2.40.0 + + + + + + 2.38.0 + + + + + + false + + true + + + + true + + + org.apache.maven.plugins maven-surefire-plugin