From 63a1c5488d89a25489c9d7e3dd3e4b111df8a959 Mon Sep 17 00:00:00 2001 From: Samuel Male Date: Mon, 30 Oct 2023 15:13:14 +0000 Subject: [PATCH] Fix build --- .../module/hivscreening/AbstractObject.java | 10 ----- pom.xml | 37 ++++++++++++++++--- 2 files changed, 32 insertions(+), 15 deletions(-) diff --git a/api/src/main/java/org/openmrs/module/hivscreening/AbstractObject.java b/api/src/main/java/org/openmrs/module/hivscreening/AbstractObject.java index b26213e..23da432 100644 --- a/api/src/main/java/org/openmrs/module/hivscreening/AbstractObject.java +++ b/api/src/main/java/org/openmrs/module/hivscreening/AbstractObject.java @@ -4,12 +4,10 @@ import javax.persistence.*; import java.io.Serializable; -import java.util.UUID; @MappedSuperclass public abstract class AbstractObject extends BaseOpenmrsObject implements Serializable { public AbstractObject() { - setUuid(UUID.randomUUID().toString()); } @Override @@ -21,14 +19,6 @@ public Integer getId() { public void setId(Integer integer) { } - @Basic - @Access(AccessType.PROPERTY) - @Column(name = "uuid", length = 38, unique = true, nullable = false) - @Override - public String getUuid() { - return super.getUuid(); - } - @Override public void setUuid(String uuid) { super.setUuid(uuid); diff --git a/pom.xml b/pom.xml index 1677a6b..5f3319c 100644 --- a/pom.xml +++ b/pom.xml @@ -129,18 +129,45 @@ openmrs-repo OpenMRS Nexus Repository - http://mavenrepo.openmrs.org/nexus/content/repositories/public + https://mavenrepo.openmrs.org/public + + + openmrs-releases + OpenMRS Release Repository + https://mavenrepo.openmrs.org/releases + + false + + + + openmrs-snapshots + OpenMRS Snapshots Repository + https://mavenrepo.openmrs.org/snapshots + + true + + + false + - + openmrs-repo - OpenMRS Nexus Repository - http://mavenrepo.openmrs.org/nexus/content/repositories/public + OpenMRS Public Repository + https://mavenrepo.openmrs.org/public + + + openmrs-snapshots + OpenMRS Public Repository + https://mavenrepo.openmrs.org/snapshots - false + true + + false +