Aurélien Pupier created CAMEL-21283:
---------------------------------------

             Summary: Regression: cannot use camel-version in combination of 
maven repositories in Camel Jbang cli
                 Key: CAMEL-21283
                 URL: https://issues.apache.org/jira/browse/CAMEL-21283
             Project: Camel
          Issue Type: Bug
          Components: camel-jbang
    Affects Versions: 4.8.0
            Reporter: Aurélien Pupier
             Fix For: 4.8.1


using --camel-version and a providing a specific Maven repository is no more 
posible with Camel JBang CLI when camel-version and is 4.7- included.

This is due to the renaming of --repos transfomed to --repository without 
transforming the parameter when the new process for another camel-version is 
used.

It is affecting only Run and export as they are the only commands for which it 
was renamed, all other commands remained with --repos (which is leading to not 
cogherent naming.

This renaming was initially done in an effort to be able to provide parameter 
using style --repository=xxx --repository=yyy instead of --repos=xxx,yyy but it 
was already reverted during 4.8 development, so we need to use 
--repository=xxx,yyy making the singular instead of plural not a good fit 
anymore.



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

Reply via email to