You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2023/05/31 12:29:30 UTC

[camel] branch main updated: component-test - add maven options to command

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 3e1b43ab760 component-test - add maven options to command
3e1b43ab760 is described below

commit 3e1b43ab760ddee5f74a4fd2eedfda8169bb7eca
Author: Nicolas Filotto <nf...@talend.com>
AuthorDate: Wed May 31 14:28:50 2023 +0200

    component-test - add maven options to command
---
 .github/actions/component-test/action.yaml       | 2 --
 .github/actions/component-test/component-test.sh | 4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/.github/actions/component-test/action.yaml b/.github/actions/component-test/action.yaml
index 2d7737a038c..9084a465292 100644
--- a/.github/actions/component-test/action.yaml
+++ b/.github/actions/component-test/action.yaml
@@ -36,8 +36,6 @@ inputs:
 runs:
   using: "composite"
   steps:
-    - id: install-mvnd
-      uses: ./.github/actions/install-mvnd
     - name: maven build
       shell: bash
       run: ${{ github.action_path }}/component-test.sh ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd "${{ inputs.comment-body }}" true build.log
diff --git a/.github/actions/component-test/component-test.sh b/.github/actions/component-test/component-test.sh
index eb79f13ca4f..50df28b8de1 100755
--- a/.github/actions/component-test/component-test.sh
+++ b/.github/actions/component-test/component-test.sh
@@ -45,10 +45,10 @@ function main() {
 
   if [[ ${fastBuild} = "true" ]] ; then
     echo "Launching a fast build against the projects ${pl} and their dependencies"
-    $mavenBinary -l $log -Pfastinstall install -pl "$pl" -am
+    $mavenBinary -l $log $MVN_OPTS -Pfastinstall install -pl "$pl" -am
   else
     echo "Launching tests of the projects ${pl}"
-    $mavenBinary -l $log install -pl "$pl"
+    $mavenBinary -l $log $MVN_OPTS install -pl "$pl"
   fi
 }