You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/05/15 15:51:00 UTC
[jira] [Resolved] (CAMEL-19313) camel-jbang - Provide a way to append Maven repository provided from command-line to the one provided in configuration
[ https://issues.apache.org/jira/browse/CAMEL-19313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-19313.
---------------------------------
Fix Version/s: 3.20.5
3.21.0
4.0-RC1
4.0
Resolution: Fixed
> 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
>
>
> 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)