summaryrefslogtreecommitdiffstats
path: root/archiva-docs/pom.xml
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-10-05 14:30:09 +0000
committerOlivier Lamy <olamy@apache.org>2012-10-05 14:30:09 +0000
commita80460a0417392440063bb1318c29ae39636eab2 (patch)
treee1b781caf1a5e89745ccf59d965e8a5568b892f7 /archiva-docs/pom.xml
parent33beb5e1213a37524065388e2bf454a8d96cd0ce (diff)
downloadarchiva-a80460a0417392440063bb1318c29ae39636eab2.tar.gz
archiva-a80460a0417392440063bb1318c29ae39636eab2.zip
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
Diffstat (limited to 'archiva-docs/pom.xml')
-rw-r--r--archiva-docs/pom.xml25
1 files changed, 25 insertions, 0 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>