From a69d43f6c2f519cd78d43e2e48b0ba5e0551aabc Mon Sep 17 00:00:00 2001 From: dkayiwa Date: Fri, 17 Jan 2020 13:03:31 +0300 Subject: [PATCH] SDK-246: Compatibility with Maven 3.6.2+ We supply a dummy version to pass the validation check. Note that the actual version deployed will be the latest version of the owa-omod. --- .../src/main/java/org/openmrs/maven/plugins/Deploy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-plugin/src/main/java/org/openmrs/maven/plugins/Deploy.java b/maven-plugin/src/main/java/org/openmrs/maven/plugins/Deploy.java index ac2c49a7..cc09faa1 100644 --- a/maven-plugin/src/main/java/org/openmrs/maven/plugins/Deploy.java +++ b/maven-plugin/src/main/java/org/openmrs/maven/plugins/Deploy.java @@ -201,7 +201,7 @@ private void deployOwa(Server server, String name, String version) throws MojoEx boolean installOwaModule = true; List serverModules = server.getServerModules(); - Artifact owaModule = new Artifact("owa-omod", ""); + Artifact owaModule = new Artifact("owa-omod", "1.0.0"); for(Artifact module : serverModules){ if(owaModule.getArtifactId().equals(module.getArtifactId())){ installOwaModule = false;