From 37843cb3c1765bd5263e3c02f5b14ffa53041e1d Mon Sep 17 00:00:00 2001 From: dekstroza Date: Fri, 18 May 2018 14:42:24 +0100 Subject: json/yaml validation for models Introduced yaml-json-validator-maven-plugin a. Runs in validate phase b. For now only validate /import/tosca subfolders c. Validates both yml and json files Change-Id: I53513321c4378485dd821c251de5555050313911 Issue-ID: SDC-1343 Signed-off-by: dekstroza --- security-utils/pom.xml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'security-utils/pom.xml') diff --git a/security-utils/pom.xml b/security-utils/pom.xml index c0361ed867..a0df7039f7 100644 --- a/security-utils/pom.xml +++ b/security-utils/pom.xml @@ -61,6 +61,35 @@ + + com.github.sylvainlaurent.maven + yaml-json-validator-maven-plugin + + + validate + validate + + validate + + + + + + src/main/resources/**/*.y*ml + src/test/resources/**/*.y*ml + + + + + src/main/resources/**/*.json + src/test/resources/**/*.json + + + + + + + -- cgit 1.2.3-korg