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

yesamer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie.git


The following commit(s) were added to refs/heads/main by this push:
     new 1f4fc91bf98 [incubator-kie#7226] Install Maven 3.9.16 explicitly in CI 
workflows (#7227)
1f4fc91bf98 is described below

commit 1f4fc91bf98bb2a2302cd59644ece788f78770bd
Author: Toshiya Kobayashi <[email protected]>
AuthorDate: Fri Oct 23 00:06:45 2026 +0900

    [incubator-kie#7226] Install Maven 3.9.16 explicitly in CI workflows (#7227)
    
    ubuntu-latest is moving to ubuntu-26.04, whose image ships Maven 3.9.15,
    while kie-parent requires [3.9.16,) via the enforcer. Download Maven from
    Maven Central, verify its sha512, and add it to PATH, the same way JBang
    is installed.
---
 .github/workflows/ci.yaml           | 10 ++++++++++
 .github/workflows/pr-downstream.yml | 10 ++++++++++
 2 files changed, 20 insertions(+)

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 2e58cbdf855..abf658e8f90 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -116,6 +116,16 @@ jobs:
           unzip -q jbang.zip
           echo "${{ github.workspace }}/jbang-0.138.0/bin" >> $GITHUB_PATH
 
+      # The runner image's Maven may be older than the minimum enforced by 
kie-parent.
+      # Keep the version in sync with version.org.apache.maven in 
kie-parent/pom.xml.
+      - name: 'SETUP :: Install Maven'
+        shell: bash
+        run: |
+          curl -sfL 
https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.16/apache-maven-3.9.16-bin.zip
 -o "${{ runner.temp }}/maven.zip"
+          echo 
"ed41650d42485cfc243fad22158caf9cbb5dc408ce7a09ddb94dd42a019de929ca43065bfa450612cf12bf78b5cafa3884b96c090de326ff590448c933454af3
  ${{ runner.temp }}/maven.zip" | sha512sum -c -
+          unzip -q "${{ runner.temp }}/maven.zip" -d "${{ runner.temp }}"
+          echo "${{ runner.temp }}/apache-maven-3.9.16/bin" >> $GITHUB_PATH
+
       - name: 'SETUP :: Block apache.snapshots Maven repository'
         shell: bash
         run: |
diff --git a/.github/workflows/pr-downstream.yml 
b/.github/workflows/pr-downstream.yml
index f5bfea08720..093d6953304 100644
--- a/.github/workflows/pr-downstream.yml
+++ b/.github/workflows/pr-downstream.yml
@@ -68,6 +68,16 @@ jobs:
           distribution: temurin
           cache: maven
 
+      # The runner image's Maven may be older than the minimum enforced by 
kie-parent.
+      # Keep the version in sync with version.org.apache.maven in 
kie-parent/pom.xml.
+      - name: 'SETUP :: Install Maven'
+        shell: bash
+        run: |
+          curl -sfL 
https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.16/apache-maven-3.9.16-bin.zip
 -o "${{ runner.temp }}/maven.zip"
+          echo 
"ed41650d42485cfc243fad22158caf9cbb5dc408ce7a09ddb94dd42a019de929ca43065bfa450612cf12bf78b5cafa3884b96c090de326ff590448c933454af3
  ${{ runner.temp }}/maven.zip" | sha512sum -c -
+          unzip -q "${{ runner.temp }}/maven.zip" -d "${{ runner.temp }}"
+          echo "${{ runner.temp }}/apache-maven-3.9.16/bin" >> $GITHUB_PATH
+
       - name: 'SETUP :: Block apache.snapshots Maven repository'
         shell: bash
         run: |


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to