Author: dkulp
Date: Fri Feb 4 17:07:19 2011
New Revision: 1067224
URL: http://svn.apache.org/viewvc?rev=1067224&view=rev
Log:
Change to using maven-bundle-plugin to generate OSGi manifest
Removed:
webservices/commons/trunk/modules/neethi/src/main/resources/META-INF/MANIFEST.MF
Modified:
webservices/commons/trunk/modules/neethi/pom.xml
Modified: webservices/commons/trunk/modules/neethi/pom.xml
URL:
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/neethi/pom.xml?rev=1067224&r1=1067223&r2=1067224&view=diff
==============================================================================
--- webservices/commons/trunk/modules/neethi/pom.xml (original)
+++ webservices/commons/trunk/modules/neethi/pom.xml Fri Feb 4 17:07:19 2011
@@ -29,6 +29,7 @@
<artifactId>neethi</artifactId>
<name>Apache Neethi</name>
<version>2.1.0-SNAPSHOT</version>
+ <packaging>bundle</packaging>
<description>Apache Neethi provides general framework for the
programmers to use WS Policy. It is compliant with latest WS Policy
specification which was published in March 2006. This framework is specifically
written to enable the Apache Web services stack to use WS Policy as a way of
expressing it's requirements and capabilities.</description>
<url>http://ws.apache.org/commons/neethi/</url>
<issueManagement>
@@ -116,15 +117,6 @@
</resource>
</resources>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
-
<manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
- </archive>
- </configuration>
- </plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
@@ -174,6 +166,33 @@
<attach>true</attach>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>2.1.0</version>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Implementation-Title>Apache
Neethi</Implementation-Title>
+ <Implementation-Vendor>The Apache Software
Foundation</Implementation-Vendor>
+
<Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
+
<Implementation-Version>${project.version}</Implementation-Version>
+ <Specification-Title>Apache
Neethi</Specification-Title>
+ <Specification-Vendor>The Apache Software
Foundation</Specification-Vendor>
+
<Specification-Version>${project.version}</Specification-Version>
+ <Export-Package>
+ org.apache.neethi.*;version="${project.version}",
+ </Export-Package>
+ <Import-Package>
+ org.apache.axiom.*;resolution:=optional,
+ javax.xml.stream;version="[0.0,2)",
+ javax.xml.namespace,
+ org.apache.commons.logging,
+ </Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+
</plugins>
</build>
<profiles>