Skip to content

Commit 60400a8

Browse files
committed
Verify with Maven 4 too
Adds the Maven 4 line to the shared verify matrix, as most of the estate already does, so incompatibilities show in CI rather than at a user. The shared workflow's default goals select a run-its profile this project does not have; Maven 3 warned, Maven 4 fails, so the goals drop it.
1 parent a04b17c commit 60400a8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/maven-verify.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ jobs:
2626
name: Verify
2727
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v5
2828
with:
29+
maven4-enabled: true
30+
# no run-its profile here; Maven 4 refuses a profile that does not exist, Maven 3 only warned
31+
ff-goal: verify
32+
verify-goal: verify
2933
install-subversion: true
3034
matrix-exclude: '[ {"jdk": "25"} ]'
3135
# -Dssh-tests turns off the no-ssh-tests profiles, -Dssh-embedded=true then narrows the ssh providers down

0 commit comments

Comments
 (0)