[ 
https://issues.apache.org/jira/browse/CAMEL-21337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomas Veskrna  updated CAMEL-21337:
-----------------------------------
    Environment: 
$ jbang version
0.119.0
$ camel -V
4.8.0


> Camel-Jbang: Camel run doesn't use group-id from config
> -------------------------------------------------------
>
>                 Key: CAMEL-21337
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21337
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>         Environment: $ jbang version
> 0.119.0
> $ camel -V
> 4.8.0
>            Reporter: Tomas Veskrna 
>            Priority: Minor
>
> Camel CLI use default group-id.
> {code:java}
> 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 
> {code}
> Steps to reproduce:
> Have jbang and camel cli installed. Then
> {code:java}
>   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
> {code}
> 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)
> {code:java}
> 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
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to