Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19128

camel-jbang - Version command

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.20.3, 3.21.0, 4.0-M3, 4.0.0
    • camel-jbang
    • None
    • Unknown

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: