]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1520] remove duplicate beans : model beans jaxrs capable
authorOlivier Lamy <olamy@apache.org>
Thu, 15 Sep 2011 18:16:34 +0000 (18:16 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 15 Sep 2011 18:16:34 +0000 (18:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171204 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/src/main/java/org/apache/archiva/admin/model/beans/FileType.java
archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/src/main/java/org/apache/archiva/admin/model/beans/LegacyArtifactPath.java
archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/src/main/java/org/apache/archiva/admin/model/beans/NetworkProxy.java
archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/src/main/java/org/apache/archiva/admin/model/beans/OrganisationInformation.java
archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/src/main/java/org/apache/archiva/admin/model/beans/ProxyConnector.java
archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/src/main/java/org/apache/archiva/admin/model/beans/RemoteRepository.java
archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/src/main/java/org/apache/archiva/admin/model/beans/RepositoryGroup.java

index 09e8df0edb591f617ced4b2253173ca8038f6515..e6230748d5433b12d174a2b6e758ef6c81c60d53 100644 (file)
@@ -18,6 +18,7 @@ package org.apache.archiva.admin.model.beans;
  * under the License.
  */
 
+import javax.xml.bind.annotation.XmlRootElement;
 import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.List;
@@ -26,6 +27,7 @@ import java.util.List;
  * @author Olivier Lamy
  * @since 1.4
  */
+@XmlRootElement( name = "fileType" )
 public class FileType
     implements Serializable
 {
index 383f43b40c95be7d5114d3dd79b53b7f7fa1054f..b89d810d8e4a06b1796fe48c2b2c1535fc7bb783 100644 (file)
@@ -18,12 +18,14 @@ package org.apache.archiva.admin.model.beans;
  * under the License.
  */
 
+import javax.xml.bind.annotation.XmlRootElement;
 import java.io.Serializable;
 
 /**
  * @author Olivier Lamy
  * @since 1.4
  */
+@XmlRootElement( name = "legacyArtifactPath" )
 public class LegacyArtifactPath
     implements Serializable
 {
index 2acda843f21d33ee702cba322e251a2747104784..bb38cd4f31d0b0fc8f07667c19446621329232d2 100644 (file)
@@ -18,12 +18,14 @@ package org.apache.archiva.admin.model.beans;
  * under the License.
  */
 
+import javax.xml.bind.annotation.XmlRootElement;
 import java.io.Serializable;
 
 /**
  * @author Olivier Lamy
  * @since 1.4
  */
+@XmlRootElement( name = "networkProxy" )
 public class NetworkProxy
     implements Serializable
 {
index d79945ef2bfdc5fdb4f67ede105a6fd4404c712f..d6dd22794acf8140f1808402057fc66491eba25e 100644 (file)
@@ -18,10 +18,13 @@ package org.apache.archiva.admin.model.beans;
  * under the License.
  */
 
+import javax.xml.bind.annotation.XmlRootElement;
+
 /**
  * @author Olivier Lamy
  * @since 1.4
  */
+@XmlRootElement( name = "organisationInformation" )
 public class OrganisationInformation
 {
     /**
index 21c28d05539bcf4521a1ac70fa3fb8cee362b41a..70b37ec934890692486f2b8091e373a9c7c1734f 100644 (file)
@@ -20,12 +20,14 @@ package org.apache.archiva.admin.model.beans;
 
 import org.apache.archiva.admin.model.AbstractRepositoryConnector;
 
+import javax.xml.bind.annotation.XmlRootElement;
 import java.io.Serializable;
 
 /**
  * @author Olivier Lamy
  * @since 1.4
  */
+@XmlRootElement( name = "proxyConnector" )
 public class ProxyConnector
     extends AbstractRepositoryConnector
     implements Serializable
index bff72d8382f700ea44d849b8dfe2d4553b78481f..21e990a7aed47248e5c1abef35b928eb9096b7ab 100644 (file)
@@ -21,12 +21,14 @@ package org.apache.archiva.admin.model.beans;
 
 import org.apache.archiva.admin.model.AbstractRepository;
 
+import javax.xml.bind.annotation.XmlRootElement;
 import java.io.Serializable;
 
 /**
  * @author Olivier Lamy
  * @since 1.4
  */
+@XmlRootElement( name = "remoteRepository" )
 public class RemoteRepository
     extends AbstractRepository
     implements Serializable
index 1eb29dab285fac52c62cd93260b30d2bdd809c7f..d340aacb40fb317c290f5a538e1f59239e594d48 100644 (file)
@@ -18,6 +18,7 @@ package org.apache.archiva.admin.model.beans;
  * under the License.
  */
 
+import javax.xml.bind.annotation.XmlRootElement;
 import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.List;
@@ -26,6 +27,7 @@ import java.util.List;
  * @author Olivier Lamy
  * @since 1.4
  */
+@XmlRootElement( name = "repositoryGroup" )
 public class RepositoryGroup
     implements Serializable
 {