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

(camel-k) branch main updated: fix(script): dependencies offliner

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 52f7f23dc fix(script): dependencies offliner
52f7f23dc is described below

commit 52f7f23dc66aec48eb84f8fa2233232c27755089
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Tue Dec 5 13:32:26 2023 +0100

    fix(script): dependencies offliner
    
    Closes #4894
---
 script/offline_dependencies.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/script/offline_dependencies.sh b/script/offline_dependencies.sh
index 9fda5cc31..6b24ffc1b 100755
--- a/script/offline_dependencies.sh
+++ b/script/offline_dependencies.sh
@@ -75,8 +75,8 @@ do
     elif [[ $d == org.apache.camel.k* ]]; then
         mvn_dep="$d:$ckr_version"
     else
-        echo "ERROR: cannot parse $d kind of dependency"
-        exit 1
+        echo "WARN: cannot parse $d kind of dependency (likely it misses the version), skipping as it should be imported transitively. If not, add manually to your bundle."
+        continue
     fi
     echo "INFO: downloading $mvn_dep and its transitive dependencies..."
     $mvnCmd -q dependency:get -Dartifact=$mvn_dep -Dmaven.repo.local=$outputLocation -s $location/maven-settings.xml
@@ -92,4 +92,4 @@ tar -czf ../camel-k-runtime-$runtime_version-maven-offline.tar.gz *
 popd
 echo "INFO: deleting cached dependencies..."
 rm -rf $outputLocation
-echo "Success: your bundled set of offline dependencies is available in camel-k-runtime-$runtime_version-maven-offline.tar.gz file."
\ No newline at end of file
+echo "Success: your bundled set of offline dependencies is available in camel-k-runtime-$runtime_version-maven-offline.tar.gz file."