diff --git a/api-2.2/pom.xml b/api-2.2/pom.xml
index 846d9d2b..e2dc7da1 100644
--- a/api-2.2/pom.xml
+++ b/api-2.2/pom.xml
@@ -4,7 +4,7 @@
org.openmrs.module
initializer
- 2.7.0-SNAPSHOT
+ 2.7.0
initializer-api-2.2
diff --git a/api-2.3/pom.xml b/api-2.3/pom.xml
index e3b88098..4c86afb8 100644
--- a/api-2.3/pom.xml
+++ b/api-2.3/pom.xml
@@ -4,7 +4,7 @@
org.openmrs.module
initializer
- 2.7.0-SNAPSHOT
+ 2.7.0
initializer-api-2.3
diff --git a/api-2.4/pom.xml b/api-2.4/pom.xml
index 49a9fe86..b54e1ec6 100644
--- a/api-2.4/pom.xml
+++ b/api-2.4/pom.xml
@@ -5,7 +5,7 @@
initializer
org.openmrs.module
- 2.7.0-SNAPSHOT
+ 2.7.0
4.0.0
diff --git a/api-2.5/pom.xml b/api-2.5/pom.xml
index be0f4ebf..bdbb6127 100644
--- a/api-2.5/pom.xml
+++ b/api-2.5/pom.xml
@@ -5,7 +5,7 @@
initializer
org.openmrs.module
- 2.7.0-SNAPSHOT
+ 2.7.0
4.0.0
diff --git a/api-bahmni/pom.xml b/api-bahmni/pom.xml
index 2e57019c..05b684ae 100644
--- a/api-bahmni/pom.xml
+++ b/api-bahmni/pom.xml
@@ -4,7 +4,7 @@
org.openmrs.module
initializer
- 2.7.0-SNAPSHOT
+ 2.7.0
initializer-api-bahmni
diff --git a/api/pom.xml b/api/pom.xml
index b06ba7d5..0972fbcd 100644
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -4,7 +4,7 @@
org.openmrs.module
initializer
- 2.7.0-SNAPSHOT
+ 2.7.0
initializer-api
diff --git a/omod/pom.xml b/omod/pom.xml
index f9441c25..12366770 100644
--- a/omod/pom.xml
+++ b/omod/pom.xml
@@ -4,7 +4,7 @@
org.openmrs.module
initializer
- 2.7.0-SNAPSHOT
+ 2.7.0
initializer-omod
diff --git a/pom.xml b/pom.xml
index 1874b607..64d433af 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
org.openmrs.module
initializer
- 2.7.0-SNAPSHOT
+ 2.7.0
pom
Initializer
The OpenMRS Initializer module is an API-only module that processes the content of the configuration folder when it is found inside OpenMRS' application data directory.
diff --git a/readme/validator.md b/readme/validator.md
index ada8daff..7f1e82e8 100644
--- a/readme/validator.md
+++ b/readme/validator.md
@@ -16,7 +16,7 @@ mvn clean package -P validator
3) Run it (use absolute paths for arguments):
```bash
-java -jar ./validator/target/initializer-validator-2.7.0-SNAPSHOT.jar \
+java -jar ./validator/target/initializer-validator-2.7.0.jar \
--config-dir=/Users/mksd/repos/openmrs-config-acme/configuration
```
4) That's it! The dry run will either pass or fail.
@@ -25,32 +25,32 @@ java -jar ./validator/target/initializer-validator-2.7.0-SNAPSHOT.jar \
### Dry run examples
##### On top of CIEL
```bash
-java -jar ./validator/target/initializer-validator-2.7.0-SNAPSHOT.jar \
+java -jar ./validator/target/initializer-validator-2.7.0.jar \
--config-dir=/Users/mksd/repos/openmrs-config-acme/configuration \
--ciel-file=/Users/mksd/Downloads/openmrs_concepts_2.2_20200927.sql
```
##### Skipping some domains
```bash
-java -jar validator/target/initializer-validator-2.7.0-SNAPSHOT.jar \
+java -jar validator/target/initializer-validator-2.7.0.jar \
--config-dir=/Users/mksd/repos/openmrs-config-acme/configuration \
--domains='!metadatasharing,privileges,roles'
```
##### Including only some domains
```bash
-java -jar validator/target/initializer-validator-2.7.0-SNAPSHOT.jar \
+java -jar validator/target/initializer-validator-2.7.0.jar \
--config-dir=/Users/mksd/repos/openmrs-config-acme/configuration \
--domains='concepts,locations'
```
##### Excluding some files in a domain
```bash
-java -jar validator/target/initializer-validator-2.7.0-SNAPSHOT.jar \
+java -jar validator/target/initializer-validator-2.7.0.jar \
--config-dir=/Users/mksd/repos/openmrs-config-acme/configuration \
--exclude.concepts='*diags*,*interventions*'
```
In the above example all 'concepts' domain files matching the [wildcard patterns](https://docs.oracle.com/cd/E23389_01/doc.11116/e21038/conditions.htm#BABEJGAH) `*diags*` and `*interventions*` will be filtered out.
##### Unsafe mode
```bash
-java -jar ./validator/target/initializer-validator-2.7.0-SNAPSHOT.jar \
+java -jar ./validator/target/initializer-validator-2.7.0.jar \
--config-dir=/Users/mksd/repos/openmrs-config-acme/configuration --unsafe
```
The unsafe mode will break as soon as the first loading error occurs, triggering the validation to stop short. This mode is particularly suitable for CI processes that just need to fail early.
@@ -58,7 +58,7 @@ The unsafe mode will break as soon as the first loading error occurs, triggering
Just run the fatjar with no arguments (or with the `--help` argument) to get a list of all possible options:
```bash
-java -jar validator/target/initializer-validator-2.7.0-SNAPSHOT.jar
+java -jar validator/target/initializer-validator-2.7.0.jar
```
#### Note
Make sure to have the Docker Engine installed before running the validator. Please refer to the [installation docs](https://docs.docker.com/engine/install) for details.
diff --git a/validator-first-dependency/pom.xml b/validator-first-dependency/pom.xml
index 6a5851cc..c9581d14 100644
--- a/validator-first-dependency/pom.xml
+++ b/validator-first-dependency/pom.xml
@@ -5,7 +5,7 @@
org.openmrs.module
initializer
- 2.7.0-SNAPSHOT
+ 2.7.0
initializer-validator-first-dependency
diff --git a/validator/pom.xml b/validator/pom.xml
index 6fc1b8d3..0fa94f05 100644
--- a/validator/pom.xml
+++ b/validator/pom.xml
@@ -5,7 +5,7 @@
org.openmrs.module
initializer
- 2.7.0-SNAPSHOT
+ 2.7.0
initializer-validator