[
https://issues.apache.org/jira/browse/CAMEL-20899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-20899.
---------------------------------
Resolution: Won't Fix
> camel-jbang-plugin-k configure camel-k version
> -----------------------------------------------
>
> Key: CAMEL-20899
> URL: https://issues.apache.org/jira/browse/CAMEL-20899
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Affects Versions: 4.4.2, 4.6.0
> Reporter: Gaëlle Fournier
> Assignee: Christoph Deppisch
> Priority: Minor
> Fix For: 4.x
>
>
> An good improvment would be to be able to define the camel-k-version
> configured by the plugin.
> The jbang camel k plugin is used as to run Camel routes with Camel K and as
> will replace the `kamel` CLI run command.
> To be able to create `Integration` CRDs it uses the following dependency and
> therefore depends on the camel-k-version set by default:
> {code:java}
> <dependency>
> <groupId>org.apache.camel.k</groupId>
> <artifactId>camel-k-crds</artifactId>
> <version>${camel-k-version}</version>
> </dependency>{code}
> Since the Camel K CRDs can change between Camel K versions, we might need to
> use another one than the default.
> While it can be done in the command with like
> {code:java}
> jbang run --deps=org.apache.camel.k:camel-k-crds:2.4.0-SNAPSHOT
> camel@apache/camel k run files/Java.java{code}
> it would be nicer to be able to choose the Camel K version in configuration
> command with `camel config set xxxx` and use the simple command `camel k run
> files/Java.java`.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)