jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alex...@apache.org
Subject svn commit: r820311 - /jackrabbit/trunk/jackrabbit-spi-commons/pom.xml
Date Wed, 30 Sep 2009 15:50:04 GMT
Author: alexkli
Date: Wed Sep 30 15:50:04 2009
New Revision: 820311

URL: http://svn.apache.org/viewvc?rev=820311&view=rev
Log:
JCR-1991: Create osgi bundles for all jars
- bundleizing jackrabbit-spi-commons (exporting all packages)

Modified:
    jackrabbit/trunk/jackrabbit-spi-commons/pom.xml

Modified: jackrabbit/trunk/jackrabbit-spi-commons/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/pom.xml?rev=820311&r1=820310&r2=820311&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/pom.xml (original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/pom.xml Wed Sep 30 15:50:04 2009
@@ -34,6 +34,7 @@
   </parent>
   <artifactId>jackrabbit-spi-commons</artifactId>
   <name>Jackrabbit SPI Commons</name>
+  <packaging>bundle</packaging>
 
   <scm>
     <connection>
@@ -47,6 +48,19 @@
 
   <build>
     <plugins>
+        <plugin>
+          <groupId>org.apache.felix</groupId>
+          <artifactId>maven-bundle-plugin</artifactId>
+          <extensions>true</extensions>
+          <configuration>
+            <instructions>
+              <Export-Package>
+                org.apache.jackrabbit.spi.commons;version=${pom.version},
+                org.apache.jackrabbit.spi.commons.*;version=${pom.version}
+              </Export-Package>
+            </instructions>
+          </configuration>
+        </plugin>
       <plugin>
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>



Mime
View raw message