generate rest documentation for redback rest services

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1394785 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-10-05 20:21:44 +00:00
parent 3ba2af56dc
commit 15bc571a9f
2 changed files with 25 additions and 2 deletions

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.archiva</groupId>
<artifactId>archiva-parent</artifactId>
<version>9</version>
<version>10-SNAPSHOT</version>
</parent>
<groupId>org.apache.archiva.redback</groupId>

View File

@ -28,9 +28,14 @@
</parent>
<artifactId>redback-rest-api</artifactId>
<packaging>bundle</packaging>
<!-- DO NOT USE bundle packaging generated documentation is not included in the jar !!! -->
<packaging>jar</packaging>
<name>Redback :: Integration :: REST :: Api</name>
<properties>
<enunciate.docsDir>${project.build.outputDirectory}/rest-docs-redback-rest-api</enunciate.docsDir>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.archiva.redback</groupId>
@ -82,6 +87,15 @@
</Import-Package>
</instructions>
</configuration>
<executions>
<execution>
<id>create-manifest</id>
<phase>process-test-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -95,6 +109,15 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
</plugins>
</build>