diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 00000000..e96c89ff
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,18 @@
+name: CI
+
+on:
+ push:
+ branches: [ "main" ]
+ pull_request:
+ branches: [ "main" ]
+
+jobs:
+ validate:
+ uses: mekomsolutions/shared-github-workflow/.github/workflows/maven-build-test.yml@main
+ with:
+ java-version: "8"
+ maven-phase: "install"
+ maven-args: "-P validator -Pprod" # OMRS config validation
+ secrets:
+ NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
+ NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
diff --git a/.java-version b/.java-version
new file mode 100644
index 00000000..62593409
--- /dev/null
+++ b/.java-version
@@ -0,0 +1 @@
+1.8
diff --git a/base/pom.xml b/base/pom.xml
index 148259f3..38638dbd 100644
--- a/base/pom.xml
+++ b/base/pom.xml
@@ -10,7 +10,6 @@
- com.ozonehis
ozone-cambodia
1.7.0-SNAPSHOT
Ozone Cambodia
@@ -126,4 +125,4 @@
-
\ No newline at end of file
+
diff --git a/prod/pom.xml b/prod/pom.xml
index 3e10b8c2..89b56d8c 100644
--- a/prod/pom.xml
+++ b/prod/pom.xml
@@ -10,7 +10,6 @@
- com.ozonehis
ozone-cambodia-prod
1.7.0-SNAPSHOT
Ozone Cambodia - with production dependencies
@@ -33,6 +32,14 @@
zip
${ozone.version}
+
+
+
+ com.ozonehis
+ ozone-scripts
+ zip
+ 1.0.0-SNAPSHOT
+
@@ -121,4 +128,4 @@
-
\ No newline at end of file
+