Cameron Fitzwater created CAMEL-22673:
-----------------------------------------

             Summary: 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


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)

Reply via email to