From 0e532122256317fd89ba1d170dce15bbaaa32459 Mon Sep 17 00:00:00 2001 From: Matthias Transier Date: Tue, 13 Oct 2026 09:14:51 +0200 Subject: [PATCH 01/11] Add Maven 3.9.15 setup to build workflow Added setup step for Maven version 3.9.15 in the build workflow. --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index da8926d..8b7fc17 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,11 @@ jobs: distribution: 'temurin' cache: maven + - name: Setup Maven 3.9.15 + uses: s4u/setup-maven-action@v1.21.0 + with: + maven-version: '3.9.15' + - name: maven-settings-action uses: s4u/maven-settings-action@894661b3ddae382f1ae8edbeab60987e08cf0788 # commit hash references to v4.0.0 with: From f321ef4d961f8eef5c0aa04c820e34f9192c9ff0 Mon Sep 17 00:00:00 2001 From: Matthias Transier Date: Tue, 13 Oct 2026 09:24:27 +0200 Subject: [PATCH 02/11] Update GitHub Actions to use specific versions Pin actions to specific commit hashes --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8b7fc17..1044ab2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,17 +11,17 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set up JDK 17 - uses: actions/setup-java@v6 + uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1 with: java-version: '17' distribution: 'temurin' cache: maven - name: Setup Maven 3.9.15 - uses: s4u/setup-maven-action@v1.21.0 + uses: s4u/setup-maven-action@v4a02cbd99769e46198135c31d5097c94618ba3f5 # v1.21.0 with: maven-version: '3.9.15' From 55b046092bedd33b6300f2c1c54ca152b24f5fee Mon Sep 17 00:00:00 2001 From: Matthias Transier Date: Tue, 13 Oct 2026 09:26:23 +0200 Subject: [PATCH 03/11] Update Maven setup action version in build.yml Fixed typo --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1044ab2..4f5eb6d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: cache: maven - name: Setup Maven 3.9.15 - uses: s4u/setup-maven-action@v4a02cbd99769e46198135c31d5097c94618ba3f5 # v1.21.0 + uses: s4u/setup-maven-action@4a02cbd99769e46198135c31d5097c94618ba3f5 # v1.21.0 with: maven-version: '3.9.15' From 44f70d1b94d447ee2d651b827535be52678f0592 Mon Sep 17 00:00:00 2001 From: Matthias Transier Date: Tue, 13 Oct 2026 09:48:29 +0200 Subject: [PATCH 04/11] Upgrade JDK to 17 and update action versions Updated actions versions and JDK version in workflow. --- .github/workflows/dependency-review.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index dc2babe..713e96e 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -10,18 +10,18 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 - - name: Set up JDK 11 - uses: actions/setup-java@v6 + - name: Set up JDK 17 + uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1 with: distribution: temurin - java-version: '11' + java-version: '17' - name: GitHub Dependency Review - uses: actions/dependency-review-action@v5 + uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0 - name: Print Maven dependency tree run: mvn -B -DskipTests dependency:tree From 9765c2fa2a7e88aca61e68cd8a7653a3f7a23aca Mon Sep 17 00:00:00 2001 From: Matthias Transier Date: Tue, 13 Oct 2026 09:50:21 +0200 Subject: [PATCH 05/11] Update action versions in maven-release.yml Updated action versions in maven-release.yml for better stability and security. --- .github/workflows/maven-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 26e9240..11bf7ed 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -11,13 +11,13 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false fetch-depth: 0 - name: Set up JDK 17 - uses: actions/setup-java@v6 + uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1 with: java-version: '17' distribution: 'temurin' @@ -34,7 +34,7 @@ jobs: echo "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com" > ~/.git-credentials - name: Set up Maven settings.xml - uses: s4u/maven-settings-action@v2 + uses: s4u/maven-settings-action@894661b3ddae382f1ae8edbeab60987e08cf0788 # commit hash references to v4.0.0 with: servers: | [{ From 16326baef79fbc0d9af4488209abe178e35a768b Mon Sep 17 00:00:00 2001 From: Matthias Transier Date: Tue, 13 Oct 2026 09:50:46 +0200 Subject: [PATCH 06/11] Add Maven 3.9.15 setup to workflow --- .github/workflows/maven-release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 11bf7ed..d5e0452 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -33,6 +33,11 @@ jobs: git config credential.helper 'store --file ~/.git-credentials' echo "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com" > ~/.git-credentials + - name: Setup Maven 3.9.15 + uses: s4u/setup-maven-action@4a02cbd99769e46198135c31d5097c94618ba3f5 # v1.21.0 + with: + maven-version: '3.9.15' + - name: Set up Maven settings.xml uses: s4u/maven-settings-action@894661b3ddae382f1ae8edbeab60987e08cf0788 # commit hash references to v4.0.0 with: From 80522cad1479ac113c507122eda13c2d92824bee Mon Sep 17 00:00:00 2001 From: Matthias Transier Date: Tue, 13 Oct 2026 09:53:11 +0200 Subject: [PATCH 07/11] Refactor GitHub Actions workflow steps for clarity --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4f5eb6d..77c965d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - name: Checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set up JDK 17 uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1 @@ -25,7 +26,7 @@ jobs: with: maven-version: '3.9.15' - - name: maven-settings-action + - name: Create Maven Settings uses: s4u/maven-settings-action@894661b3ddae382f1ae8edbeab60987e08cf0788 # commit hash references to v4.0.0 with: servers: '[{"id": "mulesoft-ee-releases", "username": "${env.MULE_REPO_USER}", "password": "${env.MULE_REPO_PASSWORD}"}]' From e4f0cd6251a5eeea18dc00114737e18f4fba7a8b Mon Sep 17 00:00:00 2001 From: Matthias Transier Date: Tue, 13 Oct 2026 09:54:07 +0200 Subject: [PATCH 08/11] Rename steps in maven-release workflow --- .github/workflows/maven-release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index d5e0452..53bac0f 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -10,7 +10,7 @@ jobs: contents: write steps: - - name: Checkout code + - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false @@ -26,6 +26,7 @@ jobs: server-id: central server-username: ${{ vars.CENTRAL_TOKEN_USERNAME }} server-password: ${{ secrets.CENTRAL_TOKEN_PASSWORD }} + - name: Configure Git run: | git config user.name "GitHub Actions" @@ -38,7 +39,7 @@ jobs: with: maven-version: '3.9.15' - - name: Set up Maven settings.xml + - name: Create Maven Settings uses: s4u/maven-settings-action@894661b3ddae382f1ae8edbeab60987e08cf0788 # commit hash references to v4.0.0 with: servers: | From bc777ca2e5c56314cf3593bacc54b48d10cdeda7 Mon Sep 17 00:00:00 2001 From: Matthias Transier Date: Tue, 13 Oct 2026 09:59:57 +0200 Subject: [PATCH 09/11] Refactor Java setup in GitHub Actions workflow --- .github/workflows/build.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77c965d..91e2d95 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,19 +14,14 @@ jobs: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - name: Set up JDK 17 - uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1 - with: - java-version: '17' - distribution: 'temurin' - cache: maven - - name: Setup Maven 3.9.15 uses: s4u/setup-maven-action@4a02cbd99769e46198135c31d5097c94618ba3f5 # v1.21.0 with: + java-version: '17' + java-distribution: 'temurin' maven-version: '3.9.15' - - name: Create Maven Settings + - name: Prepare Maven Settings uses: s4u/maven-settings-action@894661b3ddae382f1ae8edbeab60987e08cf0788 # commit hash references to v4.0.0 with: servers: '[{"id": "mulesoft-ee-releases", "username": "${env.MULE_REPO_USER}", "password": "${env.MULE_REPO_PASSWORD}"}]' From 1deef6eb0a07e202a79f7e350849be6a3730fab0 Mon Sep 17 00:00:00 2001 From: Matthias Transier Date: Tue, 13 Oct 2026 10:00:23 +0200 Subject: [PATCH 10/11] Update workflow to setup JDK 17 with Maven --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 91e2d95..d82a738 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - name: Setup Maven 3.9.15 + - name: Setup JDK 17 and Maven 3.9.15 uses: s4u/setup-maven-action@4a02cbd99769e46198135c31d5097c94618ba3f5 # v1.21.0 with: java-version: '17' From d9c2c21838eb5609d6a4d2ddfe4784fd4ec08ae9 Mon Sep 17 00:00:00 2001 From: Matthias Transier Date: Tue, 13 Oct 2026 10:04:11 +0200 Subject: [PATCH 11/11] Update workflow to setup JDK 17 with Maven --- .github/workflows/maven-release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 53bac0f..8f17cae 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -34,9 +34,11 @@ jobs: git config credential.helper 'store --file ~/.git-credentials' echo "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com" > ~/.git-credentials - - name: Setup Maven 3.9.15 + - name: Setup JDK 17 and Maven 3.9.15 uses: s4u/setup-maven-action@4a02cbd99769e46198135c31d5097c94618ba3f5 # v1.21.0 with: + java-version: '17' + java-distribution: 'temurin' maven-version: '3.9.15' - name: Create Maven Settings