You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2023/06/16 10:04:43 UTC

[camel] 04/04: Use mvnw 3.9.2 instead of mvnd 1.0-m6-m39 in the main build to avoid https://github.com/apache/maven-resolver/pull/274; this can be reverted when mvnd 1.0-m6-m39.next is out

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

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

commit 8bb5c67e9421a13d87474c67048ca278d621e074
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Thu Jun 15 23:29:36 2023 +0200

    Use mvnw 3.9.2 instead of mvnd 1.0-m6-m39 in the main build to avoid https://github.com/apache/maven-resolver/pull/274; this can be reverted when mvnd 1.0-m6-m39.next is out
---
 .github/workflows/pr-build-main.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/pr-build-main.yml b/.github/workflows/pr-build-main.yml
index 1e740d5116f..0db23f12425 100644
--- a/.github/workflows/pr-build-main.yml
+++ b/.github/workflows/pr-build-main.yml
@@ -45,7 +45,7 @@ jobs:
         java-version: 17
         cache: 'maven'
     - name: mvn checkstyle
-      run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -l checkstyle.log $MVND_OPTS -e checkstyle:checkstyle
+      run: ./mvnw -l checkstyle.log $MVND_OPTS -e checkstyle:checkstyle
     - name: archive logs
       uses: actions/upload-artifact@v3
       if: always()
@@ -86,7 +86,7 @@ jobs:
           java-version: ${{ matrix.java }}
           cache: 'maven'
       - name: maven build
-        run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -l build.log $MVND_OPTS -Pfastinstall -DskipTests install
+        run: ./mvnw -l build.log $MVND_OPTS -Pfastinstall -DskipTests install
       - name: archive logs
         uses: actions/upload-artifact@v3
         if: always()