davsclaus opened a new pull request, #23387:
URL: https://github.com/apache/camel/pull/23387

   ## Summary
   
   - When running `camel run --example groovy`, the example's 
`application.properties` was extracted to a temp directory but 
`profileProperties` was loaded from the current working directory (`.`), so 
`camel.jbang.dependencies` and other properties were never picked up by the 
runtime.
   - Fixed by setting `exportBaseDir = tempDir` in `runBundledExample()` so 
`run()` uses the temp directory as `baseDir`, making `loadProfileProperties` 
find the correct `application.properties`.
   
   ## Test plan
   
   - [x] Run `camel run --example groovy --verbose` and verify 
`commons-validator:commons-validator:1.10.1` is resolved and the example runs 
without errors
   - [ ] Full reactor build passes (`mvn clean install -DskipTests`)
   
   _Claude Code on behalf of Claus Ibsen_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to