This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 3fbed5e5 CAMEL-22931: Maven Plugin for YAML DSL validator
3fbed5e5 is described below

commit 3fbed5e5e1f93c02d206c406f53df5f211e21426
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Feb 11 12:58:10 2026 +0100

    CAMEL-22931: Maven Plugin for YAML DSL validator
---
 main-yaml/pom.xml | 39 +++++++++++++++++++++++++++++++++++++--
 1 file changed, 37 insertions(+), 2 deletions(-)

diff --git a/main-yaml/pom.xml b/main-yaml/pom.xml
index b97f9431..9c595563 100644
--- a/main-yaml/pom.xml
+++ b/main-yaml/pom.xml
@@ -17,7 +17,8 @@
     limitations under the License.
 
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
 
     <modelVersion>4.0.0</modelVersion>
 
@@ -108,9 +109,43 @@
                     
<mainClass>org.apache.camel.example.MyApplication</mainClass>
                 </configuration>
             </plugin>
+
+            <plugin>
+                <groupId>org.apache.camel</groupId>
+                <artifactId>camel-yaml-dsl-validator-maven-plugin</artifactId>
+                <version>${camel.version}</version>
+                <executions>
+                    <execution>
+                        <configuration>
+                            <includeTest>true</includeTest>
+                        </configuration>
+                        <phase>process-test-classes</phase>
+                        <goals>
+                            <goal>validate</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.camel</groupId>
+                <artifactId>camel-report-maven-plugin</artifactId>
+                <version>${camel.version}</version>
+                <executions>
+                    <execution>
+                        <configuration>
+                            <includeTest>true</includeTest>
+                        </configuration>
+                        <phase>process-test-classes</phase>
+                        <goals>
+                            <goal>validate</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
-    
+
     <profiles>
         <profile>
             <id>camel.debug</id>

Reply via email to