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

Claus Ibsen updated CAMEL-19313:
--------------------------------
    Summary: camel-jbang - Provide a way to append Maven repository provided 
from command-line to the one provided in configuration  (was: Provide a way to 
append Maven repository provided from command-line to the one provided in 
configuration)

> 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
>
> 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