diff options
Diffstat (limited to 'catalog-dao')
-rw-r--r-- | catalog-dao/pom.xml | 29 |
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> |