christophd opened a new pull request, #29857: URL: https://github.com/apache/camel/pull/29857
## Summary - Uses the Citrus `DelegatingCodeAnalyzer` to scan test sources (YAML, XML, Groovy) and auto-detect required Citrus modules and Camel test-infra dependencies from the Citrus catalog - Removes `citrus-http` from the hardcoded defaults — it is now detected by the code scanner when HTTP actions are used in test sources - Retains core defaults (`citrus-base`, `citrus-junit-jupiter`, DSL parsers, validation modules) that are not yet covered by the catalog scanner - Refactors dependency formatting into overloaded `asDependency` / `asCitrusDependency` helper methods ## Test plan - [x] New `shouldAlwaysIncludeDefaultDependencies` test verifies all 9 default dependencies are present even with an empty test directory - [x] `shouldDetectDependenciesFromYamlTestSources` verifies `citrus-sql` and `citrus-kafka` are auto-detected from YAML test actions/endpoints - [x] `shouldNotAddExtraDepsWithoutMatchingActions` verifies no extra modules are added for plain `echo` actions, while defaults remain present - [x] `shouldDetectDependenciesFromMultipleYamlFiles` verifies scanning across multiple YAML files - [x] All 10 tests pass _Claude Code on behalf of christophd_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
