davsclaus commented on code in PR #24234:
URL: https://github.com/apache/camel/pull/24234#discussion_r3468124820
##########
dsl/camel-yaml-dsl/camel-yaml-dsl-validator-maven-plugin/src/main/docs/camel-yaml-dsl-validator-maven-plugin.adoc:
##########
@@ -113,6 +114,34 @@ mvn camel-yaml-dsl-validator:validate
-Dcamel.excludes=cheese.yaml
Notice that you must prefix the `-D` command argument with `camel.`, eg
`camel.excludes` as the option name.
+=== Validating with additional directories
+
+If your YAML route files are stored in a location outside the standard Maven
resource directories, you can specify additional directories to scan:
+
+[source,xml]
+----
+<plugin>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-yaml-dsl-validate-maven-plugin</artifactId>
Review Comment:
Typo in `artifactId`: this says `camel-yaml-dsl-validate-maven-plugin` but
should be `camel-yaml-dsl-validator-maven-plugin` (missing `r`).
```suggestion
<artifactId>camel-yaml-dsl-validator-maven-plugin</artifactId>
```
--
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]