From: Olivier Lamy Date: Fri, 5 Oct 2012 14:30:09 +0000 (+0000) Subject: extract rest docs to have it as part of the documentation X-Git-Tag: archiva-1.4-M4~826 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a80460a0417392440063bb1318c29ae39636eab2;p=archiva.git extract rest docs to have it as part of the documentation git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1394545 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-docs/pom.xml b/archiva-docs/pom.xml index cb7607d7b..1ec358c51 100644 --- a/archiva-docs/pom.xml +++ b/archiva-docs/pom.xml @@ -93,10 +93,35 @@ + + org.apache.maven.plugins + maven-dependency-plugin + + + archiva-rest-api-docs-extract + site + + unpack-dependencies + + + archiva-rest-api + ${project.build.directory}/site/ + META-INF/**,org/** + + + + apache-archiva-${project.version} + + + org.apache.archiva + archiva-rest-api + + + true diff --git a/archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm b/archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm index 2f649a46c..f38a42032 100644 --- a/archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm +++ b/archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm @@ -3,7 +3,7 @@ ------ Olivier Lamy ------ - 2011-09-16 + 2011-10-05 ------ ~~ Licensed to the Apache Software Foundation (ASF) under one @@ -32,6 +32,8 @@ Using REST Services All samples here will use Apache CXF REST client API. By the way you can use some others REST client frameworks. NOTE: a wadl is available in your Archiva instance : http(s)://ip:port/../restServices/application.wadl + Archiva REST api is available here: {{http://archiva.apache.org/docs/${project.version}/rest-docs-archiva-rest-api/index.html}} + * Search Service Authentication headers for connect to your Archiva instance :