You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/08/04 20:21:02 UTC
(maven-resources-plugin) branch master updated: Use maven4-build instead of hand-rolling the matrix
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-resources-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new a2d0e6c Use maven4-build instead of hand-rolling the matrix
a2d0e6c is described below
commit a2d0e6c48f295c5ad6b0cc68a2b9c626aefb9839
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Tue Aug 4 22:03:25 2026 +0200
Use maven4-build instead of hand-rolling the matrix
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) <no...@anthropic.com>
---
.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" ]'