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

rec pushed a commit to branch release/3.5.x
in repository https://gitbox.apache.org/repos/asf/uima-ruta.git


The following commit(s) were added to refs/heads/release/3.5.x by this push:
     new 55a356ab No issue: Download Maven 3.9.9 for the build and use it
55a356ab is described below

commit 55a356ab1c0b9cedfc17ec67af748d0a127a69ef
Author: Richard Eckart de Castilho <r...@apache.org>
AuthorDate: Fri Nov 29 11:58:55 2024 +0100

    No issue: Download Maven 3.9.9 for the build and use it
---
 .github/workflows/maven.yml | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 5e95ea77..77692ee1 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -37,5 +37,16 @@ jobs:
         distribution: 'temurin'
         cache: maven
 
+    - name: Set up Maven version
+      run: |
+        echo "Downloading Maven..."
+        curl -fsSL 
https://downloads.apache.org/maven/maven-3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz
 -o maven.tar.gz
+        tar -xzf maven.tar.gz
+        sudo mv apache-maven-3.9.9 /opt/maven
+        sudo ln -s /opt/maven/bin/mvn /usr/bin/mvn
+
+    - name: Verify Maven version
+      run: mvn --version
+
     - name: Build with Maven
-      run: mvn -X --no-transfer-progress -B clean verify --file pom.xml
+      run: mvn --no-transfer-progress -B clean verify --file pom.xml

Reply via email to