Gaelle Fournier created CAMEL-24657:
---------------------------------------
Summary: camel-jbang: camel.jbang.repos as a JVM system property
not working
Key: CAMEL-24657
URL: https://issues.apache.org/jira/browse/CAMEL-24657
Project: Camel
Issue Type: Bug
Components: camel-jbang
Affects Versions: 4.22.0
Reporter: Gaelle Fournier
camel.jbang.repos cannot be set via JVM system property
(-Dcamel.jbang.repos=...), unlike other camel.jbang.* properties such as
camelSpringBootVersion and quarkusVersion which support system property
override via PropertyResolver.fromSystemProperty().
When exporting with --runtime quarkus, the Quarkus platform BOM resolution
(QuarkusHelper.findQuarkusPlatformBom) uses mavenResolver.downloader() which
has no knowledge of additional repositories. This causes a failure when the
platform BOM artifact is only available in a non-Central repository.
This issue does not affect the Spring Boot runtime because it does not perform
a platform BOM registry lookup — it uses camelSpringBootVersion directly, which
already supports system property override.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)