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

Camel-Jbang: Camel run with runtime=quarkus doesn't use group-id from config

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.8.0
    • 4.8.1, 4.9.0
    • camel-jbang
    • None
    • $ jbang version
      0.119.0
      $ camel -V
      4.8.0

    • Unknown

    Description

      Camel CLI use default group-id.

      11:12:28 tveskrna@fedora: ~$ camel config
      deps = org.apache.camel.quarkus,camel-quarkus-timer,camel:management,camel:cli-connector
      runtime = quarkus
      gav = com.foo:acme:1.0-SNAPSHOT
      quarkus-version = 3.15.1.SP1-temporary-redhat-00001
      quarkus-group-id = com.redhat.quarkus.platform
      11:13:37 tveskrna@fedora: ~$ camel run /tmp/app/test.yaml
      Running integration with the following configuration:
          --runtime=quarkus
          --quarkus-version=3.15.1.SP1-temporary-redhat-00001
          --gav=com.foo:acme:1.0-SNAPSHOT
      Running using Quarkus v3.15.1.SP1-temporary-redhat-00001 (preparing and downloading files)
      [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      [ERROR] Unresolveable build extension: Plugin io.quarkus.platform:quarkus-maven-plugin:3.15.1.SP1-temporary-redhat-00001 or one of its dependencies could not be resolved: The following artifacts could not be resolved: io.quarkus.platform:quarkus-maven-plugin:jar:3.15.1.SP1-temporary-redhat-00001 (absent): io.quarkus.platform:quarkus-maven-plugin:jar:3.15.1.SP1-temporary-redhat-00001 was not found 
      

      Steps to reproduce:
      Have jbang and camel cli installed. Then

        camel init test.yaml --directory=/tmp/app
        camel config  set  deps=org.apache.camel.quarkus,camel-quarkus-timer,camel:management,camel:cli-connector
        camel config set runtime=quarkus
        camel config set gav=com.foo:acme:1.0-SNAPSHOT
        camel config set quarkus-version=3.15.1.SP1-temporary-redhat-00001
        camel config set quarkus-group-id=com.redhat.quarkus.platform
        camel run /tmp/app/test.yaml
      

      Similar issue is reported here: https://issues.apache.org/jira/browse/CAMEL-20816. Export on other hand works fine (it uses group-id as expected)

      11:14:20 tveskrna@fedora: ~$ camel export --dir /tmp/export /tmp/app/test.yaml
      Exporting integration with the following configuration:
          --runtime=quarkus
          --gav=com.foo:acme:1.0-SNAPSHOT
          --quarkus-group-id=com.redhat.quarkus.platform
          --quarkus-version=3.15.1.SP1-temporary-redhat-00001
      Generating fresh run data
      Exporting as Quarkus project to: /tmp/export
      

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              tveskrna Tomas Veskrna
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: