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 2025/12/24 09:07:00 UTC
[jira] [Resolved] (CAMEL-22673) camel-jbang deps not working with multiple --properties files
[ https://issues.apache.org/jira/browse/CAMEL-22673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-22673.
---------------------------------
Resolution: Information Provided
> camel-jbang deps not working with multiple --properties files
> -------------------------------------------------------------
>
> Key: CAMEL-22673
> URL: https://issues.apache.org/jira/browse/CAMEL-22673
> Project: Camel
> Issue Type: Bug
> Components: camel-jbang
> Reporter: Cameron Fitzwater
> Priority: Minor
>
> If you have multiple application.properties files:
> * application.properties >> this one might contain normal defaults
> * application-local.properties >> this one might contain local enviro-specific things
> And your applicaiton-local.properties file contains a dependency:
> camel.jbang.dependencies=org.apache.cxf:cxf-rt-transports-http-jetty:4.1.3
>
> When running with multiple properties...
> camel run * --properties=application-local.properties,application.properties
>
> ... the dependency does not appear to be getting picked up. Other than the dependency, it appears all other properties are picked up correctly.
>
> Note: If I put all settings into the application-local.properties file and run it by itself, it is picked up.
> camel run * --properties=application-local.properties
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)