aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-dao/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-dao/pom.xml')
-rw-r--r--catalog-dao/pom.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/catalog-dao/pom.xml b/catalog-dao/pom.xml
index 596278e4b4..ccb8085cd0 100644
--- a/catalog-dao/pom.xml
+++ b/catalog-dao/pom.xml
@@ -301,6 +301,35 @@
</lifecycleMappingMetadata>
</configuration>
</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>src/main/resources/**/*.y*ml</include>
+ <include>src/test/resources/**/*.y*ml</include>
+ </includes>
+ </validationSet>
+ <validationSet>
+ <includes>
+ <include>src/main/resources/**/*.json</include>
+ <include>src/test/resources/**/*.json</include>
+ </includes>
+ </validationSet>
+ </validationSets>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</pluginManagement>
</build>