summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sdc-os-chef/pom.xml')
-rw-r--r--sdc-os-chef/pom.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/sdc-os-chef/pom.xml b/sdc-os-chef/pom.xml
index a5d69f1697..6dc554451a 100644
--- a/sdc-os-chef/pom.xml
+++ b/sdc-os-chef/pom.xml
@@ -79,6 +79,33 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>com.github.sylvainlaurent.maven</groupId>
+ <artifactId>yaml-json-validator-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>validate</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>validate</goal>
+ </goals>
+ <configuration>
+ <validationSets>
+ <validationSet>
+ <includes>
+ <include>**/*.y*ml</include>
+ </includes>
+ </validationSet>
+ <validationSet>
+ <includes>
+ <include>**/*.json</include>
+ </includes>
+ </validationSet>
+ </validationSets>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>