This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/causeway.git


The following commit(s) were added to refs/heads/main by this push:
     new 99e7954ede7 CAUSEWAY-2445: use Maven 4 for v4 (CI)
99e7954ede7 is described below

commit 99e7954ede71c3156e6cfacf33eff7253efbc7d1
Author: Andi Huber <[email protected]>
AuthorDate: Tue May 27 18:15:30 2025 +0200

    CAUSEWAY-2445: use Maven 4 for v4 (CI)
---
 .github/workflows/ci-build-artifacts-no-push-maven.yml | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci-build-artifacts-no-push-maven.yml 
b/.github/workflows/ci-build-artifacts-no-push-maven.yml
index 835d2a44ce9..f480f304fdf 100644
--- a/.github/workflows/ci-build-artifacts-no-push-maven.yml
+++ b/.github/workflows/ci-build-artifacts-no-push-maven.yml
@@ -33,7 +33,6 @@ jobs:
     env:
       # to be shared among all steps of this job
       BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
-      BASELINE: 3.4.0
       PROJECT_ROOT_PATH: ${{ github.workspace }}
       CI_SCRIPTS_PATH: ${{ github.workspace }}/scripts/ci
 
@@ -52,6 +51,10 @@ jobs:
 
     steps:
     - uses: actions/checkout@v4
+    - name: Print Branch Name
+      if: matrix.language == 'java'
+      run: |
+        echo BRANCH_NAME      \: $BRANCH_NAME
 
     - name: Set up JDK (zulu 24)
       if: matrix.language == 'java'
@@ -59,10 +62,18 @@ jobs:
       with:
         distribution: 'zulu'
         java-version: 24
+
     - name: Set up Maven (3.9.9)
+      if: matrix.language == 'java' && env.BRANCH_NAME == 'main'
       uses: stCarolas/setup-maven@v5
       with:
         maven-version: 3.9.9
+    - name: Set up Maven (4.0.0-rc3)
+      if: matrix.language == 'java' && env.BRANCH_NAME == 'v4'
+      uses: stCarolas/setup-maven@v5
+      with:
+        maven-version: 4.0.0-rc3
+
     - name: Print Maven Version
       if: matrix.language == 'java'
       run: mvn --version
@@ -87,7 +98,6 @@ jobs:
       run: |
         echo ==============  ENV  =================
         echo BRANCH_NAME      \: $BRANCH_NAME
-        echo BASELINE         \: $BASELINE
         echo TIMESTAMP        \: $TIMESTAMP
         echo PROJECT_ROOT_PATH\: $PROJECT_ROOT_PATH
         echo CI_SCRIPTS_PATH  \: $CI_SCRIPTS_PATH

Reply via email to