aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-web-common/pom.xml
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-10-05 19:48:15 +0000
committerOlivier Lamy <olamy@apache.org>2012-10-05 19:48:15 +0000
commitd381f0d431b46ede15ee7264bdc90a4d7adf1c4a (patch)
treeded0a5ab3b5d7aa65abf48717ef35ca22208abde /archiva-modules/archiva-web/archiva-web-common/pom.xml
parent68f37c8366c6d57d4374e785a7354d79900a3c1e (diff)
downloadarchiva-d381f0d431b46ede15ee7264bdc90a4d7adf1c4a.tar.gz
archiva-d381f0d431b46ede15ee7264bdc90a4d7adf1c4a.zip
add rest ui services documentation move rest services from the webapp-js to web-common module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1394756 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-web-common/pom.xml')
-rw-r--r--archiva-modules/archiva-web/archiva-web-common/pom.xml59
1 files changed, 52 insertions, 7 deletions
diff --git a/archiva-modules/archiva-web/archiva-web-common/pom.xml b/archiva-modules/archiva-web/archiva-web-common/pom.xml
index 5e8805236..0f8c24a60 100644
--- a/archiva-modules/archiva-web/archiva-web-common/pom.xml
+++ b/archiva-modules/archiva-web/archiva-web-common/pom.xml
@@ -26,9 +26,14 @@
</parent>
<artifactId>archiva-web-common</artifactId>
- <packaging>bundle</packaging>
+ <!-- DO NOT USE bundle packaging generated documentation is not included in the jar !!! -->
+ <packaging>jar</packaging>
<name>Archiva Web :: Web Common</name>
+ <properties>
+ <enunciate.docsDir>${project.build.outputDirectory}/rest-docs-archiva-ui</enunciate.docsDir>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.archiva</groupId>
@@ -81,11 +86,31 @@
<artifactId>redback-system</artifactId>
</dependency>
<dependency>
+ <groupId>org.apache.archiva</groupId>
+ <artifactId>archiva-repository-layer</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.archiva</groupId>
+ <artifactId>archiva-rest-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.archiva</groupId>
+ <artifactId>archiva-rest-services</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.archiva</groupId>
+ <artifactId>audit</artifactId>
+ </dependency>
+ <dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
+ <groupId>javax.ws.rs</groupId>
+ <artifactId>jsr311-api</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.apache.archiva.redback.components</groupId>
<artifactId>spring-taskqueue</artifactId>
</dependency>
@@ -120,6 +145,14 @@
<artifactId>spring-context-support</artifactId>
</dependency>
<dependency>
+ <groupId>org.jsoup</groupId>
+ <artifactId>jsoup</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
</dependency>
@@ -217,12 +250,6 @@
<dependency>
<groupId>org.apache.archiva</groupId>
- <artifactId>archiva-rest-services</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.archiva</groupId>
<artifactId>archiva-webdav</artifactId>
<scope>test</scope>
</dependency>
@@ -335,6 +362,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>
@@ -349,6 +385,15 @@
</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>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>