diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 912bf64..dd27555 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -13,6 +13,7 @@ jobs:
uses: mekomsolutions/shared-github-workflow/.github/workflows/maven-build-test.yml@main
with:
java-version: "8"
+ maven-args: "-P validator" # OMRS config validation
secrets:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
diff --git a/pom.xml b/pom.xml
index c0ad047..648db94 100644
--- a/pom.xml
+++ b/pom.xml
@@ -78,6 +78,60 @@
+
+
+ validator
+
+
+
+
+ maven-antrun-plugin
+
+
+ Copy OpenMRS Initializer configs for validation
+ pre-integration-test
+
+
+
+
+
+
+
+
+
+
+
+
+ run
+
+
+
+
+
+
+ org.openmrs.maven.plugins
+ openmrs-packager-maven-plugin
+ 1.7.0
+
+
+ Validate OpenMRS Initializer configs
+ integration-test
+
+ validate-configurations
+
+
+
+ ${project.build.directory}/validator/configuration
+
+
+
+
+
+
+
+
+
mks-nexus-public