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 +