diff options
Diffstat (limited to 'archiva-modules/metadata/metadata-model/src')
4 files changed, 8 insertions, 0 deletions
diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/CiManagement.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/CiManagement.java index d9b643449..c52d6c258 100644 --- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/CiManagement.java +++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/CiManagement.java @@ -19,6 +19,7 @@ package org.apache.archiva.metadata.model; * under the License. */ +import javax.persistence.Entity; import javax.xml.bind.annotation.XmlRootElement; import java.io.Serializable; @@ -28,6 +29,7 @@ import java.io.Serializable; * @todo considering moving this to a facet - avoid referring to it externally */ @XmlRootElement(name = "ciManagement") +@Entity public class CiManagement implements Serializable { diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java index 04f039d96..4d304afaa 100644 --- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java +++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java @@ -19,6 +19,7 @@ package org.apache.archiva.metadata.model; * under the License. */ +import javax.persistence.Entity; import javax.xml.bind.annotation.XmlRootElement; import java.io.Serializable; @@ -28,6 +29,7 @@ import java.io.Serializable; * @todo considering moving this to a facet - avoid referring to it externally */ @XmlRootElement(name = "issueManagement") +@Entity public class IssueManagement implements Serializable { diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Organization.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Organization.java index 603c44213..9b8961399 100644 --- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Organization.java +++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Organization.java @@ -19,10 +19,12 @@ package org.apache.archiva.metadata.model; * under the License. */ +import javax.persistence.Entity; import javax.xml.bind.annotation.XmlRootElement; import java.io.Serializable; @XmlRootElement(name = "organization") +@Entity public class Organization implements Serializable { diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Scm.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Scm.java index 8086472bd..ff9f704cd 100644 --- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Scm.java +++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Scm.java @@ -19,10 +19,12 @@ package org.apache.archiva.metadata.model; * under the License. */ +import javax.persistence.Entity; import javax.xml.bind.annotation.XmlRootElement; import java.io.Serializable; @XmlRootElement(name = "scm") +@Entity public class Scm implements Serializable { |