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
This commit is contained in:
Olivier Lamy 2012-10-05 14:30:09 +00:00
parent 33beb5e121
commit a80460a041
2 changed files with 28 additions and 1 deletions

View File

@ -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>

View File

@ -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 :