Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-3806

Quarkus CLI: combination of stream and platform bom options results in CLI not creating app

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 3.8.NEXT
    • 3.2.9.GA, 2.13.9.GA, 3.2.9.CR3, 2.13.9.CR2
    • team/eng
    • Hide

      Does nothing:

      quarkus create app rh.quarkus.qe:app --platform-bom=io.quarkus:quarkus-bom:3.2.9.Final --stream=3.2 --no-code --no-wrapper
      quarkus create app rh.quarkus.qe:app --platform-bom=io.quarkus:quarkus-bom:3.2.9.Final --stream=io.quarkus.platform:3.2 --no-code --no-wrapper
      quarkus create app rh.quarkus.qe:app --platform-bom=io.quarkus:quarkus-bom:3.2.9.Final --stream=2.13 --no-code --no-wrapper
      quarkus create app rh.quarkus.qe:app --platform-bom=io.quarkus:quarkus-bom:2.13.9.Final --stream=io.quarkus.platform:2.13 --no-code --no-wrapper
      

      Generates app:

      quarkus create app rh.quarkus.qe:app --platform-bom=io.quarkus:quarkus-bom:3.2.9.Final --no-code --no-wrapper
      quarkus create app rh.quarkus.qe:app --stream=3.2 --no-code --no-wrapper
      
      Show
      Does nothing: quarkus create app rh.quarkus.qe:app --platform-bom=io.quarkus:quarkus-bom:3.2.9.Final --stream=3.2 --no-code --no-wrapper quarkus create app rh.quarkus.qe:app --platform-bom=io.quarkus:quarkus-bom:3.2.9.Final --stream=io.quarkus.platform:3.2 --no-code --no-wrapper quarkus create app rh.quarkus.qe:app --platform-bom=io.quarkus:quarkus-bom:3.2.9.Final --stream=2.13 --no-code --no-wrapper quarkus create app rh.quarkus.qe:app --platform-bom=io.quarkus:quarkus-bom:2.13.9.Final --stream=io.quarkus.platform:2.13 --no-code --no-wrapper Generates app: quarkus create app rh.quarkus.qe:app --platform-bom=io.quarkus:quarkus-bom:3.2.9.Final --no-code --no-wrapper quarkus create app rh.quarkus.qe:app --stream=3.2 --no-code --no-wrapper
    • +
    • ---

      Generating a Quarkus app using Quarkus CLI while specifying both -stream and -platform-bom fails.

      The other problem is that this failure does not have a clear message - the behaviour of CLI was changed, and now all that the user gets to see is error code 2.

            olubyans@redhat.com Alexey Loubyansky
            mjurc@redhat.com Michal Jurc
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: