Skip to content

Commit

Permalink
fix(script): dependencies offliner
Browse files Browse the repository at this point in the history
Closes #4894
  • Loading branch information
squakez authored Dec 5, 2023
1 parent 44cf532 commit 52f7f23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script/offline_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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."
echo "Success: your bundled set of offline dependencies is available in camel-k-runtime-$runtime_version-maven-offline.tar.gz file."

0 comments on commit 52f7f23

Please sign in to comment.