diff options
-rw-r--r-- | archiva-docs/pom.xml | 25 | ||||
-rw-r--r-- | archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm | 4 |
2 files changed, 28 insertions, 1 deletions
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 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>archiva-rest-api-docs-extract</id> + <phase>site</phase> + <goals> + <goal>unpack-dependencies</goal> + </goals> + <configuration> + <includeArtifactIds>archiva-rest-api</includeArtifactIds> + <outputDirectory>${project.build.directory}/site/</outputDirectory> + <excludes>META-INF/**,org/**</excludes> + </configuration> + </execution> + </executions> + </plugin> </plugins> <finalName>apache-archiva-${project.version}</finalName> </build> + <dependencies> + <dependency> + <groupId>org.apache.archiva</groupId> + <artifactId>archiva-rest-api</artifactId> + </dependency> + </dependencies> + <reporting> <excludeDefaults>true</excludeDefaults> <plugins> 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 : |