You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "christophd (via GitHub)" <gi...@apache.org> on 2023/08/30 12:12:00 UTC

[GitHub] [camel] christophd opened a new pull request, #11241: CAMEL-19798: Consistently set camel-kamelets version in Camel JBang

christophd opened a new pull request, #11241:
URL: https://github.com/apache/camel/pull/11241

   # Description
   
   <!--
   - Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
   -->
   
   The PR improves the camel-kamelets version handling in Camel JBang and makes sure to consistently use the same version in all `camel-kamelets-*` libraries (e.g. camel-kamelets, camel-kamelets-utils, camel-kamelets-catalog, and so on). 
   
   Users either set the version via system properties `-Dcamel-kamelets.version=` or via command line setting `--kamelets-version=` when using Camel JBang. As a fallback the value gets derived from the version used by the library `camel-kamelets` on the current JVM classpath (only when none of the user settings should be set).
   
   - Avoids inconsistent versions on camel-kamelets dependencies (e.g. camel-kamelets-utils library)
   - Make sure to use same version for camel-kamelets and camel-kamelets-utils dependency
   - Add `--kamelets-version` setting on Camel JBang `run` command
   - Propagate camel-kamelets version to KameletMain as initial property and use this version in Kamelet dependency downloader
   - Fallback to deriving the camel-kamelets version from classpath only if version has not been set by the user
   - Support `camel-kamelets:` prefix when referencing dependencies in Kamelets and Pipe/KameletBinding resources and resolve with proper camel-kamelets version
   
   


-- 
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-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel] christophd merged pull request #11241: CAMEL-19798: Consistently set camel-kamelets version in Camel JBang

Posted by "christophd (via GitHub)" <gi...@apache.org>.
christophd merged PR #11241:
URL: https://github.com/apache/camel/pull/11241


-- 
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-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org