not use bundle packaging as enunciate doc is not included

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1394544 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-10-05 14:29:57 +00:00
parent a1137adb73
commit 33beb5e121
1 changed files with 48 additions and 27 deletions

View File

@ -17,7 +17,8 @@
~ specific language governing permissions and limitations
~ under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>archiva-rest</artifactId>
@ -25,7 +26,8 @@
<version>1.4-M4-SNAPSHOT</version>
</parent>
<artifactId>archiva-rest-api</artifactId>
<packaging>bundle</packaging>
<!-- DO NOT USE bundle packaging generated documentation is not included in the jar !!! -->
<packaging>jar</packaging>
<name>Archiva Web :: REST support :: Api</name>
<properties>
@ -142,7 +144,17 @@
org.apache.archiva.maven2.model
</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>
@ -157,6 +169,15 @@
</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>
<plugin>
<groupId>org.codehaus.enunciate</groupId>