From 0c4b10a30acc3b0db7b0ad966c2c8102437a6bef Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Sun, 20 Sep 2026 12:11:29 +0200 Subject: [PATCH 1/2] Verify the plugin on the oldest Maven the build allows The verify matrix runs current Maven only. One extra matrix entry runs the full build and ITs on Maven 3.9.0, the floor the ASF parent enforces, so API drift against the older 3.9 line is caught before a user hits it. --- .github/workflows/maven-verify.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml index 3acefcf1..1dc71b90 100644 --- a/.github/workflows/maven-verify.yml +++ b/.github/workflows/maven-verify.yml @@ -26,4 +26,6 @@ jobs: name: Verify uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v5 with: + # one full run on the oldest Maven the ASF parent lets us build with, next to the regular matrix + matrix-include: '[{"os": "ubuntu-latest", "jdk": "8", "distribution": "zulu", "maven": "3.9.0"}]' maven4-enabled: true From d55109e70b8be5edda6686dcff95ecb4e45e9804 Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Sun, 20 Sep 2026 13:06:29 +0200 Subject: [PATCH 2/2] Run the Java 11 auxclasspath IT on a JDK 11+ runtime only The project compiles Java 11 sources with maven.compiler.release and nothing switches the JDK; on JDK 8 it only passed because Maven 3.10 binds a compiler plugin that tolerates --release there. Maven 3.9.0 binds 3.10.1, which fails with "invalid flag: --release". --- src/it/auxclasspath-with-java-runtime-11/invoker.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/src/it/auxclasspath-with-java-runtime-11/invoker.properties b/src/it/auxclasspath-with-java-runtime-11/invoker.properties index 617c24af..e698201c 100644 --- a/src/it/auxclasspath-with-java-runtime-11/invoker.properties +++ b/src/it/auxclasspath-with-java-runtime-11/invoker.properties @@ -15,6 +15,7 @@ # specific language governing permissions and limitations # under the License. +invoker.java.version = 11+ invoker.toolchain.jdk.version = 11 invoker.goals = clean verify invoker.debug = true