Configure the bundle plugin to add OSGi info to proxy's manifest
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/proxy/branches/proxy-1.0-work@629130 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 30161b9..3bf7204 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,6 +26,7 @@
</parent>
<artifactId>commons-proxy</artifactId>
<version>1.0-rc1</version>
+ <packaging>bundle</packaging>
<name>Commons Proxy</name>
<description>Java library for dynamic proxying</description>
<url>http://commons.apache.org/proxy/</url>
@@ -121,6 +122,20 @@
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>1.2.1</version>
+ <extensions>true</extensions>
+ <configuration>
+ <excludeDependencies>true</excludeDependencies>
+ <instructions>
+ <_nouses>true</_nouses>
+ <Bundle-SymbolicName>org.apache.commons.proxy</Bundle-SymbolicName>
+ <Export-Package>org.apache.commons.*;version=${pom.version}</Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
</plugins>
</build>
<dependencies>