Gaelle Fournier created CAMEL-24358:
---------------------------------------

             Summary: camel-jbang - camel run --repos does not propagate to 
Quarkus export
                 Key: CAMEL-24358
                 URL: https://issues.apache.org/jira/browse/CAMEL-24358
             Project: Camel
          Issue Type: Bug
          Components: camel-jbang
    Affects Versions: 4.18.3
            Reporter: Gaelle Fournier


When using camel run --runtime=quarkus --repos=<url>, the --repos value is 
never passed to the ExportQuarkus instance created in Run.runQuarkus().

runSpringBoot() correctly copies the field (since[ 
https://github.com/apache/camel/pull/16922)|https://github.com/apache/camel/pull/16922)]
 : eq.repositories = this.repositories;

But runQuarkus() omits it, so the inner KameletMain / MavenDependencyDownloader 
only uses the default repositories (central + apache-snapshot).

On main, CAMEL-23560 refactored repositories into MavenResolverMixin which is 
copied as a whole object, fixing this as a side effect.



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

Reply via email to