Skip to content

Commit

Permalink
Update remote maven repos
Browse files Browse the repository at this point in the history
(chore) Fix build
  • Loading branch information
reagan-meant authored Oct 30, 2023
2 parents ae03ae3 + 63a1c54 commit d08b9a8
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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);
Expand Down
37 changes: 32 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,18 +129,45 @@
<repository>
<id>openmrs-repo</id>
<name>OpenMRS Nexus Repository</name>
<url>http://mavenrepo.openmrs.org/nexus/content/repositories/public</url>
<url>https://mavenrepo.openmrs.org/public</url>
</repository>
<repository>
<id>openmrs-releases</id>
<name>OpenMRS Release Repository</name>
<url>https://mavenrepo.openmrs.org/releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>openmrs-snapshots</id>
<name>OpenMRS Snapshots Repository</name>
<url>https://mavenrepo.openmrs.org/snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>openmrs-repo</id>
<name>OpenMRS Nexus Repository</name>
<url>http://mavenrepo.openmrs.org/nexus/content/repositories/public</url>
<name>OpenMRS Public Repository</name>
<url>https://mavenrepo.openmrs.org/public</url>
</pluginRepository>
<pluginRepository>
<id>openmrs-snapshots</id>
<name>OpenMRS Public Repository</name>
<url>https://mavenrepo.openmrs.org/snapshots</url>
<snapshots>
<enabled>false</enabled>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>

Expand Down

0 comments on commit d08b9a8

Please sign in to comment.