commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r629130 - /commons/proper/proxy/branches/proxy-1.0-work/pom.xml
Date Tue, 19 Feb 2008 15:45:09 GMT
Author: niallp
Date: Tue Feb 19 07:45:04 2008
New Revision: 629130

URL: http://svn.apache.org/viewvc?rev=629130&view=rev
Log:
Configure the bundle plugin to add OSGi info to proxy's manifest

Modified:
    commons/proper/proxy/branches/proxy-1.0-work/pom.xml

Modified: commons/proper/proxy/branches/proxy-1.0-work/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/proxy-1.0-work/pom.xml?rev=629130&r1=629129&r2=629130&view=diff
==============================================================================
--- commons/proper/proxy/branches/proxy-1.0-work/pom.xml (original)
+++ commons/proper/proxy/branches/proxy-1.0-work/pom.xml Tue Feb 19 07:45:04 2008
@@ -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>
@@ -119,6 +120,20 @@
                         <descriptor>src/assembly/src.xml</descriptor>
                     </descriptors>
                     <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>



Mime
View raw message