You need to use the --local-kamelet-dir and point to your local kamelets directory in your cloned camel-kamelets repository
Il lun 2 set 2024, 16:17 zhfeng (via GitHub) <g...@apache.org> ha scritto: > > zhfeng commented on PR #2174: > URL: > https://github.com/apache/camel-kamelets/pull/2174#issuecomment-2324859873 > > Yeah, I run a jbang example from > https://github.com/apache/camel-kamelets-examples/tree/main/jbang/timer-activemq-artemis. > But how to use the `4.8.0-SNAPSHOT` of > `org.apache.camel.kamelets:camel-kamelet` ? > > ``` > jbang -Dcamel.jbang.version=4.8.0-SNAPSHOT camel@apache/camel run > artemis-log.camel.yaml --kamelets-version=4.8.0-SNAPSHOT > > [jbang] [WARN] Detected missing or out-of-date dependencies in cache. > [jbang] Resolving dependencies... > [jbang] org.apache.camel:camel-bom:4.8.0-SNAPSHOT@pom > [jbang] org.apache.camel:camel-jbang-core:4.8.0-SNAPSHOT > [jbang] org.apache.camel.kamelets:camel-kamelets:4.7.0 > [jbang] Dependencies resolved > ... > ``` > > @davsclaus @oscerd it's still `4.7.0` even I add ` > --kamelets-version=4.8.0-SNAPSHOT`. any hint? > > > -- > 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: commits-unsubscr...@camel.apache.org > > For queries about this service, please contact Infrastructure at: > us...@infra.apache.org > >