You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/03/09 09:28:00 UTC
[jira] [Created] (CAMEL-19128) camel-jbang - Version command
Claus Ibsen created CAMEL-19128:
-----------------------------------
Summary: camel-jbang - Version command
Key: CAMEL-19128
URL: https://issues.apache.org/jira/browse/CAMEL-19128
Project: Camel
Issue Type: New Feature
Components: camel-jbang
Reporter: Claus Ibsen
Fix For: 4.0-M3, 4.0
camel version
Should show the current camel-jbang CLI version, and also if user configuration have set a default version
$ camel version
camel-jbang: 4.0.0
camel-version (user configuration): 3.20.3
We can have version commands to list Camel releases (discover via maven)
$ camel version list
4.0.0
3.21.1
3.21.0
3.20.3
3.20.2
3.20.1
...
We should stop after N versions back (we can have options to show all.) camel jbang supports 3.18 as lowest (better with 3.20) etc.
And we also need this for runtime
$ camel version list --runtime=spring-boot
4.0.0
3.21.1
3.21.0
3.20.3
3.20.2
3.20.1
...
$ camel version list --runtime=quarkus
3.0.0
2.16.4
2.16.3
2.15.0
2.14.0
2.13.3
...
The version should take --repos as argument to allow scanning in 3rd party maven repos as well for custom Camel distros
--
This message was sent by Atlassian Jira
(v8.20.10#820010)