From a80460a0417392440063bb1318c29ae39636eab2 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 5 Oct 2012 14:30:09 +0000 Subject: [PATCH] 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 --- archiva-docs/pom.xml | 25 +++++++++++++++++++ .../apt/adminguide/webservices/rest.apt.vm | 4 ++- 2 files changed, 28 insertions(+), 1 deletion(-) 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 : -- 2.39.5