oscerd commented on a change in pull request #3123:
URL: https://github.com/apache/camel-k/pull/3123#discussion_r828279831



##########
File path: script/get_catalog.sh
##########
@@ -21,14 +21,12 @@ rootdir=$location/../
 if [ "$#" -ge 1 ]; then
   runtimeVersion="$1"
   shift 1
-  $rootdir/mvnw -q \
-    -f ${rootdir}/build/maven/pom-catalog.xml \
-    -Dcatalog.path=${rootdir}/resources \
-    -Druntime.version=$runtimeVersion \
-    -B \
-    -U \
-    "$@"
+  # the catalog was already provided by Camel K runtime. No need to depends on 
maven to rebuild it
+  wget -q 
https://repo1.maven.org/maven2/org/apache/camel/k/camel-k-catalog/$runtimeVersion/camel-k-catalog-$runtimeVersion-catalog.yaml
 -O ${rootdir}/resources/camel-catalog-$runtimeVersion.yaml
+  # TODO if we need to use also staging, then we must parse the maven-metadata 
from the staging repository 

Review comment:
       I don't think so, but we'll discover while releasing probably.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to