summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2011-12-16 15:12:05 +0000
committerOlivier Lamy <olamy@apache.org>2011-12-16 15:12:05 +0000
commit7b344cb9496990fb0be932bcc121cc9fdd364cd1 (patch)
tree4dcde0d543f78683dafa5f17feaf0c1773f92638 /archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api
parentaee64c8a47d6ddb709c95185aad9d1dd38a94947 (diff)
downloadarchiva-7b344cb9496990fb0be932bcc121cc9fdd364cd1.tar.gz
archiva-7b344cb9496990fb0be932bcc121cc9fdd364cd1.zip
[MRM-1566] remove xmlrpc services.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1215172 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api')
-rw-r--r--archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/pom.xml69
-rw-r--r--archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/AdministrationService.java156
-rw-r--r--archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/PingService.java28
-rw-r--r--archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/SearchService.java63
-rw-r--r--archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/beans/Artifact.java180
-rw-r--r--archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/beans/Dependency.java173
-rw-r--r--archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/beans/ManagedRepository.java151
-rw-r--r--archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/beans/RemoteRepository.java120
8 files changed, 0 insertions, 940 deletions
diff --git a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/pom.xml b/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/pom.xml
deleted file mode 100644
index 84ce8a3a2..000000000
--- a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/pom.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.archiva</groupId>
- <artifactId>archiva-xmlrpc</artifactId>
- <version>1.4-M3-SNAPSHOT</version>
- </parent>
- <artifactId>archiva-xmlrpc-api</artifactId>
- <packaging>bundle</packaging>
- <name>Archiva Web :: XML-RPC API</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.archiva</groupId>
- <artifactId>archiva-indexer</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.archiva</groupId>
- <artifactId>stage-repository-merge</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.archiva</groupId>
- <artifactId>archiva-repository-admin-api</artifactId>
- </dependency>
- <dependency>
- <groupId>com.atlassian.xmlrpc</groupId>
- <artifactId>atlassian-xmlrpc-binder-annotations</artifactId>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <configuration>
- <instructions>
- <Bundle-SymbolicName>org.apache.archiva.web.xmlrpc.api</Bundle-SymbolicName>
- <Bundle-Version>${project.version}</Bundle-Version>
- <Export-Package>
- org.apache.archiva.web.xmlrpc.api*;version=${project.version};-split-package:=merge-first
- </Export-Package>
- <Import-Package>
- org.apache.archiva.admin.model;version=${project.version},
- com.atlassian.xmlrpc;version="[0.11,1)"
- </Import-Package>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/AdministrationService.java b/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/AdministrationService.java
deleted file mode 100644
index 3fe121b2f..000000000
--- a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/AdministrationService.java
+++ /dev/null
@@ -1,156 +0,0 @@
-package org.apache.archiva.web.xmlrpc.api;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import com.atlassian.xmlrpc.ServiceObject;
-import org.apache.archiva.admin.model.RepositoryAdminException;
-import org.apache.archiva.web.xmlrpc.api.beans.ManagedRepository;
-import org.apache.archiva.web.xmlrpc.api.beans.RemoteRepository;
-
-import java.util.List;
-
-@ServiceObject( "AdministrationService" )
-public interface AdministrationService
-{
- /**
- * Executes repository scanner on the given repository.
- *
- * @param repoId id of the repository to be scanned
- * @return
- * @throws Exception
- */
- Boolean executeRepositoryScanner( String repoId )
- throws Exception;
-
- /**
- * Gets all available repository consumers.
- *
- * @return
- */
- List<String> getAllRepositoryConsumers();
-
- // TODO should we already implement config of consumers per repository?
-
- /**
- * Configures (enable or disable) repository consumer.
- *
- * @param repoId
- * @param consumerId
- * @param enable
- * @return
- * @throws Exception
- */
- Boolean configureRepositoryConsumer( String repoId, String consumerId, boolean enable )
- throws Exception;
-
- /**
- * Gets all managed repositories.
- *
- * @return
- */
- List<ManagedRepository> getAllManagedRepositories()
- throws RepositoryAdminException;
-
- /**
- * Gets all remote repositories.
- *
- * @return
- */
- List<RemoteRepository> getAllRemoteRepositories()
- throws RepositoryAdminException;
-
- /**
- * Deletes given artifact from the specified repository.
- *
- * @param repoId id of the repository where the artifact to be deleted resides
- * @param groupId groupId of the artifact to be deleted
- * @param artifactId artifactId of the artifact to be deleted
- * @param version version of the artifact to be deleted
- * @return
- * @throws Exception
- */
- Boolean deleteArtifact( String repoId, String groupId, String artifactId, String version )
- throws Exception;
-
- /**
- * Create a new managed repository with the given parameters.
- *
- * @param repoId
- * @param layout
- * @param name
- * @param location
- * @param blockRedeployments
- * @param releasesIncluded
- * @param snapshotsIncluded
- * @param cronExpression
- * @return
- * @throws Exception
- */
- Boolean addManagedRepository( String repoId, String layout, String name, String location,
- boolean blockRedeployments, boolean releasesIncluded, boolean snapshotsIncluded,
- boolean stageRepoNeeded, String cronExpression, int daysOlder, int retentionCount,
- boolean deleteReleasedSnapshots )
- throws Exception;
-
- /**
- * Deletes a managed repository with the given repository id.
- *
- * @param repoId
- * @return
- */
- Boolean deleteManagedRepository( String repoId )
- throws Exception;
-
- /**
- * Deletes a managed repository content with the given repository id
- *
- * @param repoId
- * @return
- * @throws Exception
- */
- Boolean deleteManagedRepositoryContent( String repoId )
- throws Exception;
-
- /**
- * Get a managed repository with the given repository id.
- *
- * @param repoId
- * @return
- * @throws Exception
- */
- ManagedRepository getManagedRepository( String repoId )
- throws Exception;
- // TODO
- // consider the following as additional services:
- // - getAllConfiguredRepositoryConsumers( String repoId ) - list all enabled consumers for the repo
- // - getAllConfiguredDatabaseConsumers() - list all enabled db consumers
-
- /**
- * Merge staging repository with the managed repository and skips if there are conflicts
- *
- * @param repoId
- * @param skipConflicts
- * @return
- * @throws Exception
- */
- boolean merge( String repoId, boolean skipConflicts )
- throws Exception;
-
-}
diff --git a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/PingService.java b/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/PingService.java
deleted file mode 100644
index 492f655fe..000000000
--- a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/PingService.java
+++ /dev/null
@@ -1,28 +0,0 @@
-package org.apache.archiva.web.xmlrpc.api;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import com.atlassian.xmlrpc.ServiceObject;
-
-@ServiceObject("PingService")
-public interface PingService
-{
- public String ping();
-}
diff --git a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/SearchService.java b/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/SearchService.java
deleted file mode 100644
index 23ef4adc4..000000000
--- a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/SearchService.java
+++ /dev/null
@@ -1,63 +0,0 @@
-package org.apache.archiva.web.xmlrpc.api;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import com.atlassian.xmlrpc.ServiceObject;
-import org.apache.archiva.web.xmlrpc.api.beans.Artifact;
-import org.apache.archiva.web.xmlrpc.api.beans.Dependency;
-
-import java.util.Date;
-import java.util.List;
-
-@ServiceObject( "SearchService" )
-public interface SearchService
-{
- /*
- * quick/general text search which returns a list of artifacts
- * query for an artifact based on a checksum
- * query for all available versions of an artifact, sorted in version significance order
- * query for all available versions of an artifact since a given date
- * query for an artifact's direct dependencies
- * query for an artifact's dependency tree (as with mvn dependency:tree - no duplicates should be included)
- * query for all artifacts that depend on a given artifact
- */
-
- public List<Artifact> quickSearch( String queryString )
- throws Exception;
-
- public List<Artifact> getArtifactByChecksum( String checksum )
- throws Exception;
-
- public List<Artifact> getArtifactVersions( String groupId, String artifactId )
- throws Exception;
-
- public List<Artifact> getArtifactVersionsByDate( String groupId, String artifactId, String version,
- Date whenGathered )
- throws Exception;
-
- public List<Dependency> getDependencies( String groupId, String artifactId, String version )
- throws Exception;
-
- public List<Artifact> getDependencyTree( String groupId, String artifactId, String version )
- throws Exception;
-
- public List<Artifact> getDependees( String groupId, String artifactId, String version )
- throws Exception;
-}
diff --git a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/beans/Artifact.java b/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/beans/Artifact.java
deleted file mode 100644
index d323ffd2b..000000000
--- a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/beans/Artifact.java
+++ /dev/null
@@ -1,180 +0,0 @@
-package org.apache.archiva.web.xmlrpc.api.beans;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.io.Serializable;
-
-import com.atlassian.xmlrpc.ServiceBean;
-import com.atlassian.xmlrpc.ServiceBeanField;
-
-@ServiceBean
-public class Artifact
- implements Serializable
-{
- private String repositoryId;
-
- private String groupId;
-
- private String artifactId;
-
- private String version;
-
- private String type;
-
- //private Date whenGathered;
-
- public Artifact()
- {
-
- }
-
- @Override
- public boolean equals( Object o )
- {
- if ( this == o )
- {
- return true;
- }
- if ( o == null || getClass() != o.getClass() )
- {
- return false;
- }
-
- Artifact artifact = (Artifact) o;
-
- if ( !artifactId.equals( artifact.artifactId ) )
- {
- return false;
- }
- if ( !groupId.equals( artifact.groupId ) )
- {
- return false;
- }
- if ( !repositoryId.equals( artifact.repositoryId ) )
- {
- return false;
- }
- if ( type != null ? !type.equals( artifact.type ) : artifact.type != null )
- {
- return false;
- }
- if ( !version.equals( artifact.version ) )
- {
- return false;
- }
-
- return true;
- }
-
- @Override
- public int hashCode()
- {
- int result = repositoryId.hashCode();
- result = 31 * result + groupId.hashCode();
- result = 31 * result + artifactId.hashCode();
- result = 31 * result + version.hashCode();
- result = 31 * result + ( type != null ? type.hashCode() : 0 );
- return result;
- }
-
- @Override
- public String toString()
- {
- return "Artifact{" + "repositoryId='" + repositoryId + '\'' + ", groupId='" + groupId + '\'' +
- ", artifactId='" + artifactId + '\'' + ", version='" + version + '\'' + ", type='" + type + '\'' + '}';
- }
-
- public Artifact( String repositoryId, String groupId, String artifactId, String version, String type )
-// String type, Date whenGathered )
- {
- this.repositoryId = repositoryId;
- this.groupId = groupId;
- this.artifactId = artifactId;
- this.version = version;
- this.type = type;
- //this.whenGathered = whenGathered;
- }
-
- public String getGroupId()
- {
- return groupId;
- }
-
- public String getArtifactId()
- {
- return artifactId;
- }
-
- public String getVersion()
- {
- return version;
- }
-
- public String getType()
- {
- return type;
- }
-
- public String getRepositoryId()
- {
- return repositoryId;
- }
-
- /*public Date getWhenGathered()
- {
- return whenGathered;
- }*/
-
- @ServiceBeanField( "groupId" )
- public void setGroupId( String groupId )
- {
- this.groupId = groupId;
- }
-
- @ServiceBeanField( "artifactId" )
- public void setArtifactId( String artifactId )
- {
- this.artifactId = artifactId;
- }
-
- @ServiceBeanField( "version" )
- public void setVersion( String version )
- {
- this.version = version;
- }
-
- @ServiceBeanField( "type" )
- public void setType( String type )
- {
- this.type = type;
- }
-
- @ServiceBeanField( "repositoryId" )
- public void setRepositoryId( String repositoryId )
- {
- this.repositoryId = repositoryId;
- }
-
- /*@ServiceBeanField( "whenGathered" )
- public void setWhenGathered( Date whenGathered )
- {
- this.whenGathered = whenGathered;
- }*/
-}
diff --git a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/beans/Dependency.java b/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/beans/Dependency.java
deleted file mode 100644
index 3ae198132..000000000
--- a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/beans/Dependency.java
+++ /dev/null
@@ -1,173 +0,0 @@
-package org.apache.archiva.web.xmlrpc.api.beans;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.io.Serializable;
-
-import com.atlassian.xmlrpc.ServiceBean;
-
-@ServiceBean
-public class Dependency
- implements Serializable
-{
- private String groupId;
-
- private String artifactId;
-
- private String version;
-
- private String classifier;
-
- private String type;
-
- private String scope;
-
- @Override
- public String toString()
- {
- return "Dependency{" + "groupId='" + groupId + '\'' + ", artifactId='" + artifactId + '\'' + ", version='" +
- version + '\'' + ", classifier='" + classifier + '\'' + ", type='" + type + '\'' + ", scope='" + scope +
- '\'' + '}';
- }
-
- @Override
- public boolean equals( Object o )
- {
- if ( this == o )
- {
- return true;
- }
- if ( o == null || getClass() != o.getClass() )
- {
- return false;
- }
-
- Dependency that = (Dependency) o;
-
- if ( !artifactId.equals( that.artifactId ) )
- {
- return false;
- }
- if ( classifier != null ? !classifier.equals( that.classifier ) : that.classifier != null )
- {
- return false;
- }
- if ( !groupId.equals( that.groupId ) )
- {
- return false;
- }
- if ( scope != null ? !scope.equals( that.scope ) : that.scope != null )
- {
- return false;
- }
- if ( type != null ? !type.equals( that.type ) : that.type != null )
- {
- return false;
- }
- if ( !version.equals( that.version ) )
- {
- return false;
- }
-
- return true;
- }
-
- @Override
- public int hashCode()
- {
- int result = groupId.hashCode();
- result = 31 * result + artifactId.hashCode();
- result = 31 * result + version.hashCode();
- result = 31 * result + ( classifier != null ? classifier.hashCode() : 0 );
- result = 31 * result + ( type != null ? type.hashCode() : 0 );
- result = 31 * result + ( scope != null ? scope.hashCode() : 0 );
- return result;
- }
-
- public Dependency( String groupId, String artifactId, String version, String classifier, String type, String scope )
- {
- this.groupId = groupId;
- this.artifactId = artifactId;
- this.version = version;
- this.classifier = classifier;
- this.type = type;
- this.scope = scope;
- }
-
- public String getGroupId()
- {
- return groupId;
- }
-
- public void setGroupId( String groupId )
- {
- this.groupId = groupId;
- }
-
- public String getArtifactId()
- {
- return artifactId;
- }
-
- public void setArtifactId( String artifactId )
- {
- this.artifactId = artifactId;
- }
-
- public String getVersion()
- {
- return version;
- }
-
- public void setVersion( String version )
- {
- this.version = version;
- }
-
- public String getClassifier()
- {
- return classifier;
- }
-
- public void setClassifier( String classifier )
- {
- this.classifier = classifier;
- }
-
- public String getType()
- {
- return type;
- }
-
- public void setType( String type )
- {
- this.type = type;
- }
-
- public String getScope()
- {
- return scope;
- }
-
- public void setScope( String scope )
- {
- this.scope = scope;
- }
-}
diff --git a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/beans/ManagedRepository.java b/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/beans/ManagedRepository.java
deleted file mode 100644
index ad36b140f..000000000
--- a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/beans/ManagedRepository.java
+++ /dev/null
@@ -1,151 +0,0 @@
-package org.apache.archiva.web.xmlrpc.api.beans;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.io.Serializable;
-
-import com.atlassian.xmlrpc.ServiceBean;
-import com.atlassian.xmlrpc.ServiceBeanField;
-
-@ServiceBean
-public class ManagedRepository
- implements Serializable
-{
- private String id;
-
- private String name;
-
- private String url;
-
- private String layout;
-
- private boolean snapshots = false;
-
- private boolean releases = false;
-
- public ManagedRepository()
- {
-
- }
-
- public ManagedRepository( String id, String name, String url, String layout, boolean snapshots, boolean releases )
- {
- this.id = id;
- this.name = name;
- this.url = url;
- this.layout = layout;
- this.snapshots = snapshots;
- this.releases = releases;
- }
-
- public boolean equals(Object other)
- {
- if ( this == other)
- {
- return true;
- }
-
- if ( !(other instanceof ManagedRepository) )
- {
- return false;
- }
-
- ManagedRepository that = (ManagedRepository) other;
- boolean result = true;
- result = result && ( getId() == null ? that.getId() == null : getId().equals( that.getId() ) );
- return result;
- }
-
- public String getId()
- {
- return this.id;
- }
-
- public String getLayout()
- {
- return this.layout;
- }
-
- public String getName()
- {
- return this.name;
- }
-
- public String getUrl()
- {
- return this.url;
- }
-
- public int hashCode()
- {
- int result = 17;
- result = 37 * result + ( id != null ? id.hashCode() : 0 );
- return result;
- }
-
- public boolean isReleases()
- {
- return this.releases;
- }
-
- /**
- * Get null
- */
- public boolean isSnapshots()
- {
- return this.snapshots;
- }
-
- @ServiceBeanField( "id" )
- public void setId(String id)
- {
- this.id = id;
- }
-
- @ServiceBeanField( "layout" )
- public void setLayout(String layout)
- {
- this.layout = layout;
- }
-
- @ServiceBeanField( "name" )
- public void setName(String name)
- {
- this.name = name;
- }
-
- @ServiceBeanField( "releases" )
- public void setReleases(boolean releases)
- {
- this.releases = releases;
- }
-
- @ServiceBeanField( "snapshots" )
- public void setSnapshots(boolean snapshots)
- {
- this.snapshots = snapshots;
- }
-
- @ServiceBeanField( "url" )
- public void setUrl(String url)
- {
- this.url = url;
- }
-} \ No newline at end of file
diff --git a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/beans/RemoteRepository.java b/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/beans/RemoteRepository.java
deleted file mode 100644
index a15a8a679..000000000
--- a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-api/src/main/java/org/apache/archiva/web/xmlrpc/api/beans/RemoteRepository.java
+++ /dev/null
@@ -1,120 +0,0 @@
-package org.apache.archiva.web.xmlrpc.api.beans;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.io.Serializable;
-
-import com.atlassian.xmlrpc.ServiceBean;
-import com.atlassian.xmlrpc.ServiceBeanField;
-
-@ServiceBean
-public class RemoteRepository
- implements Serializable
-{
- private String id;
-
- private String name;
-
- private String url;
-
- private String layout;
-
- public RemoteRepository()
- {
-
- }
-
- public RemoteRepository( String id, String name, String url, String layout )
- {
- this.id = id;
- this.name = name;
- this.url = url;
- this.layout = layout;
- }
-
- public boolean equals(Object other)
- {
- if ( this == other)
- {
- return true;
- }
-
- if ( !(other instanceof RemoteRepository) )
- {
- return false;
- }
-
- RemoteRepository that = (RemoteRepository) other;
- boolean result = true;
- result = result && ( getId() == null ? that.getId() == null : getId().equals( that.getId() ) );
- return result;
- }
-
- public String getId()
- {
- return this.id;
- }
-
- public String getLayout()
- {
- return this.layout;
- }
-
- public String getName()
- {
- return this.name;
- }
-
- public String getUrl()
- {
- return this.url;
- }
-
- public int hashCode()
- {
- int result = 17;
- result = 37 * result + ( id != null ? id.hashCode() : 0 );
- return result;
- }
-
- @ServiceBeanField( "id" )
- public void setId(String id)
- {
- this.id = id;
- }
-
- @ServiceBeanField( "layout" )
- public void setLayout(String layout)
- {
- this.layout = layout;
- }
-
- @ServiceBeanField( "name" )
- public void setName(String name)
- {
- this.name = name;
- }
-
- @ServiceBeanField( "url" )
- public void setUrl(String url)
- {
- this.url = url;
- }
-} \ No newline at end of file