From d8f109ddeca15a86f7b8683af6e6a5e325bb09b0 Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Tue, 4 Aug 2026 22:03:25 +0200 Subject: [PATCH] Use maven4-build instead of hand-rolling the matrix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The shared workflow already has a switch for a Maven-4-only build. Setting ff-maven and maven-matrix by hand does the same thing but repeats the version twice, needs re-pinning in two places on every RC, and skips the jdk-8 exclude that maven4-build adds for you — harmless only because jdk-matrix is pinned to 17 and 21 here. Matches the other Maven 4 plugins: clean, install, deploy, compiler, source, archiver and filtering all use maven4-build. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/maven-verify.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml index 41b374b..5b2ced5 100644 --- a/.github/workflows/maven-verify.yml +++ b/.github/workflows/maven-verify.yml @@ -26,6 +26,6 @@ jobs: name: Verify uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v5 with: - ff-maven: "4.0.0-rc-6" # Maven version for fail-fast-build - maven-matrix: '[ "4.0.0-rc-6" ]' + maven4-build: true + maven4-version: '4.0.0-rc-6' # the same as used in project jdk-matrix: '[ "17", "21" ]'