archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1484735 - in /archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model: CiManagement.java Dependency.java IssueManagement.java License.java MailingList.java Organization.java Scm.java
Date Tue, 21 May 2013 10:29:55 GMT
Author: olamy
Date: Tue May 21 10:29:55 2013
New Revision: 1484735

URL: http://svn.apache.org/r1484735
Log:
make those classes serializable for cassandra impl tests

Modified:
    archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/CiManagement.java
    archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Dependency.java
    archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java
    archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/License.java
    archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/MailingList.java
    archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Organization.java
    archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Scm.java

Modified: archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/CiManagement.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/CiManagement.java?rev=1484735&r1=1484734&r2=1484735&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/CiManagement.java
(original)
+++ archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/CiManagement.java
Tue May 21 10:29:55 2013
@@ -20,14 +20,16 @@ package org.apache.archiva.metadata.mode
  */
 
 import javax.xml.bind.annotation.XmlRootElement;
+import java.io.Serializable;
 
 /**
  * Information about the CI system used by the project.
  *
  * @todo considering moving this to a facet - avoid referring to it externally
  */
-@XmlRootElement( name = "ciManagement" )
+@XmlRootElement(name = "ciManagement")
 public class CiManagement
+    implements Serializable
 {
     /**
      * A simple identifier for the type of CI server used, eg <tt>continuum</tt>,
<tt>bamboo</tt>, <tt>hudson</tt>, etc.

Modified: archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Dependency.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Dependency.java?rev=1484735&r1=1484734&r2=1484735&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Dependency.java
(original)
+++ archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Dependency.java
Tue May 21 10:29:55 2013
@@ -20,14 +20,16 @@ package org.apache.archiva.metadata.mode
  */
 
 import javax.xml.bind.annotation.XmlRootElement;
+import java.io.Serializable;
 
 /**
  * Information about a dependency that this project has on another project or artifact.
  *
  * @todo will be reviewing what is appropriate for the base here - rest should be in a maven
dependency facet - avoid details on it externally
  */
-@XmlRootElement( name = "dependency" )
+@XmlRootElement(name = "dependency")
 public class Dependency
+    implements Serializable
 {
     /**
      * The Maven classifier of the dependency.

Modified: archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java?rev=1484735&r1=1484734&r2=1484735&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java
(original)
+++ archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/IssueManagement.java
Tue May 21 10:29:55 2013
@@ -20,14 +20,16 @@ package org.apache.archiva.metadata.mode
  */
 
 import javax.xml.bind.annotation.XmlRootElement;
+import java.io.Serializable;
 
 /**
  * Information about the issue management system used by the project.
  *
  * @todo considering moving this to a facet - avoid referring to it externally
  */
-@XmlRootElement( name = "issueManagement" )
+@XmlRootElement(name = "issueManagement")
 public class IssueManagement
+    implements Serializable
 {
     /**
      * A simple identifier for the type of issue management server used, eg <tt>jira</tt>,
<tt>bugzilla</tt>, etc.

Modified: archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/License.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/License.java?rev=1484735&r1=1484734&r2=1484735&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/License.java
(original)
+++ archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/License.java
Tue May 21 10:29:55 2013
@@ -20,12 +20,14 @@ package org.apache.archiva.metadata.mode
  */
 
 import javax.xml.bind.annotation.XmlRootElement;
+import java.io.Serializable;
 
 /**
  * A description of a particular license used by a project.
  */
-@XmlRootElement( name = "license" )
+@XmlRootElement(name = "license")
 public class License
+    implements Serializable
 {
     /**
      * The name of the license.

Modified: archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/MailingList.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/MailingList.java?rev=1484735&r1=1484734&r2=1484735&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/MailingList.java
(original)
+++ archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/MailingList.java
Tue May 21 10:29:55 2013
@@ -1,6 +1,7 @@
 package org.apache.archiva.metadata.model;
 
 import javax.xml.bind.annotation.XmlRootElement;
+import java.io.Serializable;
 import java.util.List;
 
 /*
@@ -27,8 +28,9 @@ import java.util.List;
  *
  * @todo considering moving this to a facet - avoid referring to it externally
  */
-@XmlRootElement( name = "mailingList" )
+@XmlRootElement(name = "mailingList")
 public class MailingList
+    implements Serializable
 {
     /**
      * The primary archive URL for this mailing list.

Modified: archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Organization.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Organization.java?rev=1484735&r1=1484734&r2=1484735&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Organization.java
(original)
+++ archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Organization.java
Tue May 21 10:29:55 2013
@@ -20,9 +20,11 @@ package org.apache.archiva.metadata.mode
  */
 
 import javax.xml.bind.annotation.XmlRootElement;
+import java.io.Serializable;
 
-@XmlRootElement( name = "organization" )
+@XmlRootElement(name = "organization")
 public class Organization
+    implements Serializable
 {
     private String name;
 

Modified: archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Scm.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Scm.java?rev=1484735&r1=1484734&r2=1484735&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Scm.java
(original)
+++ archiva/trunk/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/Scm.java
Tue May 21 10:29:55 2013
@@ -20,9 +20,11 @@ package org.apache.archiva.metadata.mode
  */
 
 import javax.xml.bind.annotation.XmlRootElement;
+import java.io.Serializable;
 
-@XmlRootElement( name = "scm" )
+@XmlRootElement(name = "scm")
 public class Scm
+    implements Serializable
 {
     private String connection;
 



Mime
View raw message