Aurélien Pupier created CAMEL-19312:
---------------------------------------
Summary: Provide priority to command-line argument --camel-version
over configuration parameters for Camel version
Key: CAMEL-19312
URL: https://issues.apache.org/jira/browse/CAMEL-19312
Project: Camel
Issue Type: Improvement
Components: camel-jbang
Affects Versions: 3.20.4
Reporter: Aurélien Pupier
when calling:
- jbang camel@apache/camel config set camel-version=3.18.3.redhat-00022
- jbang camel@apache/camel config set
repos=https://maven.repository.redhat.com/ga
- jbang camel@apache/camel run 'Test.java' --camel-version=3.20.3
--repos=https://packages.atlassian.com/maven-external
The camel-version from command-lmien is overriden by the configuration version:
{noformat}
Running integration with the following configuration:
--camel-version=3.20.3
--repos=https://packages.atlassian.com/maven-external
Running integration with the following configuration:
--camel-version=3.18.3.redhat-00022
--repos=https://packages.atlassian.com/maven-external
{noformat}
The repos value is correctly overridden.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)