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

   ## Summary
   
   Add a `directories` parameter to the `camel-yaml-dsl-validator-maven-plugin` 
that allows users to specify additional directories to scan for YAML files, 
beyond the default Maven resource directories.
   
   This addresses 
[CAMEL-23820](https://issues.apache.org/jira/browse/CAMEL-23820), where the 
plugin only supported files in Maven resource directories, preventing usage in 
projects that store YAML routes in other locations.
   
   ## Changes
   
   - Added `directories` parameter (`@Parameter(property = 
"camel.directories")`) accepting a list of directory paths
   - Both relative and absolute paths are supported; relative paths are 
resolved against the project base directory
   - Custom directories are scanned **in addition to** the default resource 
directories (backward compatible)
   - Updated the documentation with the new option and a usage example
   - Added unit tests covering: absolute paths, relative paths, null 
directories, combined resources + custom dirs, and `.camel.yaml` extension 
filtering
   
   ## Test plan
   
   - [x] Unit tests pass (5 new tests in `ValidateMojoTest`)
   - [x] Module build passes (`mvn verify`)
   - [x] Full root build passes (`mvnd -Dquickly clean install`)
   
   _Claude Code on behalf of Otavio Rodolfo Piske_


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