[
https://issues.apache.org/jira/browse/CAMEL-22673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18047372#comment-18047372
]
Claus Ibsen commented on CAMEL-22673:
-------------------------------------
-dev is the standard you should use, as it is for development profile
there is a --profile flag to switch profile.
Any other kind of named properties is not intended to be supported in this
regard - its complex already as-is.
> 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)