Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
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:
Running integration with the following configuration: --camel-version=3.18.3.redhat-00022 --repos=https://packages.atlassian.com/maven-external
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:
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
Attachments
Issue Links
- is related to
-
CAMEL-19338 Add integration tests for camel-jbang
- Resolved
- relates to
-
CAMEL-19486 The $repos placeholder used by Camel JBang is not resolved
- Resolved
- links to