Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.8.0
-
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
- is related to
-
CAMEL-20816 Camel-JBang: Export to quarkus does not honor quarkusGroupId setting
- Resolved