]> source.dussan.org Git - archiva.git/commitdiff
add documentation copy artifact service
authorOlivier Lamy <olamy@apache.org>
Fri, 23 Sep 2011 08:02:01 +0000 (08:02 +0000)
committerOlivier Lamy <olamy@apache.org>
Fri, 23 Sep 2011 08:02:01 +0000 (08:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174577 13f79535-47bb-0310-9956-ffa450edef68

archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm

index f227baecf9ee2c91c1f09fb148709d5df790c3b2..1af2dc7d57b37697f1c6b211db0c3c10e1e89851 100644 (file)
@@ -59,6 +59,14 @@ Using REST Services
 
 %{snippet|id=searchservice-with-classifier|url=http://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/SearchServiceTest.java}
 
+  Copy Artifact from a repository to an other one :
+
+  For some reasons you want to use a test repository before moving your artifacts to a repository used by final users.
+  To achieve this, you can use a service which can copy an artifact from a repository to an other one
+
+%{snippet|id=copy-artifact-with-classifier|url=http://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/CopyArtifactTest.java}
+
+
   To know all the possible options, you can refer to the javadoc of SearchRequest class.