aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-10-05 20:21:44 +0000
committerOlivier Lamy <olamy@apache.org>2012-10-05 20:21:44 +0000
commit15bc571a9fb8260d1c04e5af6efa05c7067556df (patch)
treec082e56774df57040a075e3e6563695ad40c79f6
parent3ba2af56dc6f06ca228affb15785f6f714a8fed1 (diff)
downloadarchiva-15bc571a9fb8260d1c04e5af6efa05c7067556df.tar.gz
archiva-15bc571a9fb8260d1c04e5af6efa05c7067556df.zip
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
-rw-r--r--pom.xml2
-rw-r--r--redback-integrations/redback-rest/redback-rest-api/pom.xml25
2 files changed, 25 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 2b0d1b7b1..db1b691b8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>
diff --git a/redback-integrations/redback-rest/redback-rest-api/pom.xml b/redback-integrations/redback-rest/redback-rest-api/pom.xml
index 0c7cbd83e..71a57699a 100644
--- a/redback-integrations/redback-rest/redback-rest-api/pom.xml
+++ b/redback-integrations/redback-rest/redback-rest-api/pom.xml
@@ -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>