[ 
https://issues.apache.org/jira/browse/CAMEL-19313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17736033#comment-17736033
 ] 

Claus Ibsen commented on CAMEL-19313:
-------------------------------------

Using $ in the CLI does not work, we need to use a different symbol

> camel-jbang - Provide a way to append Maven repository provided from 
> command-line to the one provided in configuration
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-19313
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19313
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>            Reporter: Aurélien Pupier
>            Assignee: Federico Mariani
>            Priority: Major
>             Fix For: 3.20.5, 3.21.0, 4.0-RC1, 4.0.0
>
>
> it would be convenient to be able to have a Maven repository configured in 
> configuration and to be able to provide another repos from command-line with 
> --repos. Currently, it is always overriding (and needs to stay this way by 
> default I think?).
> Currently:
> - jbang camel@apache/camel config set 
> repos=https://maven.repository.redhat.com/ga
> - jbang camel@apache/camel run 'Test.java' --logging-level=info 
> --repos=https://packages.atlassian.com/maven-external
> gives:
> {noformat}
> Running integration with the following configuration:
>     --camel-version=3.18.3.redhat-00022
>     --repos=https://packages.atlassian.com/maven-external
> {noformat}
> ideally, I when doing something like:
> - jbang camel@apache/camel config set 
> repos=https://maven.repository.redhat.com/ga
> - jbang camel@apache/camel run 'Test.java' --logging-level=info 
> --repos=$repos,https://packages.atlassian.com/maven-external
> should be giving:
> {noformat}
> Running integration with the following configuration:
>     --camel-version=3.18.3.redhat-00022
>     
> --repos=https://packages.atlassian.com/maven-external,https://maven.repository.redhat.com/ga
> {noformat}



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

Reply via email to