diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 40bebb87a8..63c09554ba 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -33,7 +33,7 @@ jobs: uses: actions/checkout@v2 - name: Set up JDK - uses: actions/setup-java@v2.1.0 + uses: actions/setup-java@v2 with: java-version: 8 distribution: adopt-hotspot @@ -42,7 +42,7 @@ jobs: run: mvn apache-rat:check "-Drat.consoleOutput" - name: Build with Maven - run: mvn verify --errors --batch-mode --no-transfer-progress -Pdocs + run: mvn verify --show-version --errors --batch-mode --no-transfer-progress -Pdocs build-all: needs: build @@ -65,12 +65,12 @@ jobs: dist: adopt-openj9 - version: 11 dist: zulu - # 16 - - version: 16 - dist: adopt-hotspot + # 17 (16 fallback) + - version: 17 + dist: temurin - version: 16 dist: adopt-openj9 - - version: 16 + - version: 17 dist: zulu exclude: # was already built @@ -83,7 +83,7 @@ jobs: - os: macOS-latest java: version: 16 - # exclude adopt-hotspot on MacOS. zulu (also hotspot) and OpenJ9 are sufficient. + # exclude temurin on MacOS. zulu (also hotspot) and OpenJ9 are sufficient. - os: macOS-latest java: dist: adopt-hotspot @@ -107,10 +107,10 @@ jobs: maven-${{ matrix.os }}- - name: Set up JDK - uses: actions/setup-java@v2.1.0 + uses: actions/setup-java@v2 with: java-version: ${{ matrix.java.version }} distribution: ${{ matrix.java.dist }} - name: Build with Maven - run: mvn verify --errors --batch-mode --no-transfer-progress -Pdocs + run: mvn verify --show-version --errors --batch-mode --no-transfer-progress -Pdocs diff --git a/.jenkins.groovy b/.jenkins.groovy index 769baeec6e..b60cc61f27 100644 --- a/.jenkins.groovy +++ b/.jenkins.groovy @@ -93,7 +93,7 @@ pipeline { stage('Build') { steps { echo 'Building' - sh 'mvn --update-snapshots --batch-mode --errors clean verify -Pdocs -Dmaven.test.failure.ignore=true' + sh 'mvn clean verify --show-version --errors --batch-mode --no-transfer-progress -Pdocs -Dmaven.test.failure.ignore=true' } post { always { diff --git a/integration-tests/guice3/pom.xml b/integration-tests/guice3/pom.xml index e335cbb6e2..29d62a6c60 100644 --- a/integration-tests/guice3/pom.xml +++ b/integration-tests/guice3/pom.xml @@ -135,5 +135,16 @@ --illegal-access=permit + + jdk17 + + [17,) + + + + --add-opens java.base/java.lang=ALL-UNNAMED + --add-opens java.base/java.lang=ALL-UNNAMED + + diff --git a/integration-tests/guice4/pom.xml b/integration-tests/guice4/pom.xml index 0e5af10062..4d4c3b0ebe 100644 --- a/integration-tests/guice4/pom.xml +++ b/integration-tests/guice4/pom.xml @@ -140,5 +140,16 @@ --illegal-access=permit + + jdk17 + + [17,) + + + + --add-opens java.base/java.lang=ALL-UNNAMED + --add-opens java.base/java.lang=ALL-UNNAMED + + diff --git a/pom.xml b/pom.xml index 2011d5a573..61204c9f2f 100644 --- a/pom.xml +++ b/pom.xml @@ -109,17 +109,17 @@ 1.2.17 5.2.8.RELEASE 2.3.2.RELEASE - 4.2.2 + 4.2.3 2.1.6 2.39.0 1.68 4.0.2 - 3.7.0 - 1.12.0 - 3.0.7 - 5.6.2 + 3.12.4 + 1.13.0 + 3.0.9 + 5.8.1 0.11.0 5.4.3.Final 1.2.5 @@ -334,7 +334,7 @@ org.jacoco jacoco-maven-plugin - 0.8.6 + 0.8.7 com.mycila diff --git a/samples/guice/pom.xml b/samples/guice/pom.xml index f1bcaeb0ff..50afb36a60 100644 --- a/samples/guice/pom.xml +++ b/samples/guice/pom.xml @@ -125,5 +125,16 @@ --illegal-access=permit + + jdk17 + + [17,) + + + + --add-opens java.base/java.lang=ALL-UNNAMED + --add-opens java.base/java.lang=ALL-UNNAMED + + diff --git a/support/guice/pom.xml b/support/guice/pom.xml index 26d332c542..7c76e2b55d 100644 --- a/support/guice/pom.xml +++ b/support/guice/pom.xml @@ -128,12 +128,22 @@ jdk16 - [16,) + [16,17) --illegal-access=permit + + jdk17 + + [17,) + + + + --add-opens java.base/java.lang=ALL-UNNAMED + +