[infinispan-commits] Infinispan SVN: r2391 - in branches/4.2.x: cachestore/cloud and 14 other directories.
infinispan-commits at lists.jboss.org
infinispan-commits at lists.jboss.org
Thu Sep 16 01:45:50 EDT 2010
Author: trustin
Date: 2010-09-16 01:45:49 -0400 (Thu, 16 Sep 2010)
New Revision: 2391
Modified:
branches/4.2.x/cachestore/bdbje/pom.xml
branches/4.2.x/cachestore/cloud/pom.xml
branches/4.2.x/cachestore/jdbc/pom.xml
branches/4.2.x/cachestore/jdbm/pom.xml
branches/4.2.x/cachestore/remote/pom.xml
branches/4.2.x/client/hotrod-client/pom.xml
branches/4.2.x/core/pom.xml
branches/4.2.x/lucene-directory/pom.xml
branches/4.2.x/parent/pom.xml
branches/4.2.x/query/pom.xml
branches/4.2.x/server/core/pom.xml
branches/4.2.x/server/hotrod/pom.xml
branches/4.2.x/server/memcached/pom.xml
branches/4.2.x/server/websocket/pom.xml
branches/4.2.x/tools/pom.xml
branches/4.2.x/tree/pom.xml
Log:
[ISPN-222] (Package according to OSGi specs) Made all JAR artifacts OSGi bundles, except demos and jopr plugin
Modified: branches/4.2.x/cachestore/bdbje/pom.xml
===================================================================
--- branches/4.2.x/cachestore/bdbje/pom.xml 2010-09-15 22:28:04 UTC (rev 2390)
+++ branches/4.2.x/cachestore/bdbje/pom.xml 2010-09-16 05:45:49 UTC (rev 2391)
@@ -11,6 +11,7 @@
</parent>
<artifactId>infinispan-cachestore-bdbje</artifactId>
+ <packaging>bundle</packaging>
<name>Infinispan BDBJE CacheStore</name>
<description>Infinispan BerkeleyDB JavaEdition CacheStore module</description>
<dependencies>
@@ -27,4 +28,20 @@
<url>http://download.oracle.com/maven/</url>
</repository>
</repositories>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Export-Package>
+ ${project.groupId}.loaders.bdbje.*;version=${project.version};-split-package:=error
+ </Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
Modified: branches/4.2.x/cachestore/cloud/pom.xml
===================================================================
--- branches/4.2.x/cachestore/cloud/pom.xml 2010-09-15 22:28:04 UTC (rev 2390)
+++ branches/4.2.x/cachestore/cloud/pom.xml 2010-09-16 05:45:49 UTC (rev 2391)
@@ -10,6 +10,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>infinispan-cachestore-cloud</artifactId>
+ <packaging>bundle</packaging>
<name>Infinispan CloudCacheStore</name>
<description>Infinispan CloudCacheStore module</description>
@@ -103,6 +104,17 @@
</systemProperties>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Export-Package>
+ ${project.groupId}.loaders.cloud.*;version=${project.version};-split-package:=error
+ </Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
</plugins>
</build>
Modified: branches/4.2.x/cachestore/jdbc/pom.xml
===================================================================
--- branches/4.2.x/cachestore/jdbc/pom.xml 2010-09-15 22:28:04 UTC (rev 2390)
+++ branches/4.2.x/cachestore/jdbc/pom.xml 2010-09-16 05:45:49 UTC (rev 2391)
@@ -11,6 +11,7 @@
</parent>
<artifactId>infinispan-cachestore-jdbc</artifactId>
+ <packaging>bundle</packaging>
<name>Infinispan JDBC CacheStore</name>
<description>Infinispan JDBC CacheStore module</description>
@@ -36,4 +37,20 @@
<scope>test</scope>
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Export-Package>
+ ${project.groupId}.loaders.jdbc.*;version=${project.version};-split-package:=error
+ </Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
Modified: branches/4.2.x/cachestore/jdbm/pom.xml
===================================================================
--- branches/4.2.x/cachestore/jdbm/pom.xml 2010-09-15 22:28:04 UTC (rev 2390)
+++ branches/4.2.x/cachestore/jdbm/pom.xml 2010-09-16 05:45:49 UTC (rev 2391)
@@ -10,6 +10,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>infinispan-cachestore-jdbm</artifactId>
+ <packaging>bundle</packaging>
<name>Infinispan JDBM CacheStore</name>
<description>Infinispan JDBM CacheStore module</description>
<properties>
@@ -34,4 +35,19 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Export-Package>
+ ${project.groupId}.loaders.jdbm.*;version=${project.version};-split-package:=error
+ </Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
Modified: branches/4.2.x/cachestore/remote/pom.xml
===================================================================
--- branches/4.2.x/cachestore/remote/pom.xml 2010-09-15 22:28:04 UTC (rev 2390)
+++ branches/4.2.x/cachestore/remote/pom.xml 2010-09-16 05:45:49 UTC (rev 2391)
@@ -10,6 +10,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>infinispan-cachestore-remote</artifactId>
+ <packaging>bundle</packaging>
<name>Infinispan remote CacheStore</name>
<description>Infinispan remote CacheStore based on Hotrod protocol</description>
<properties>
@@ -42,4 +43,20 @@
<scope>test</scope>
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Export-Package>
+ ${project.groupId}.loaders.remote.*;version=${project.version};-split-package:=error
+ </Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
Modified: branches/4.2.x/client/hotrod-client/pom.xml
===================================================================
--- branches/4.2.x/client/hotrod-client/pom.xml 2010-09-15 22:28:04 UTC (rev 2390)
+++ branches/4.2.x/client/hotrod-client/pom.xml 2010-09-16 05:45:49 UTC (rev 2391)
@@ -11,9 +11,9 @@
</parent>
<artifactId>infinispan-client-hotrod</artifactId>
+ <packaging>bundle</packaging>
<name>Infinispan Client Hotrod Module</name>
<description>Infinispan client hotrod module</description>
- <packaging>jar</packaging>
<dependencies>
<dependency>
@@ -59,4 +59,20 @@
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Export-Package>
+ ${project.groupId}.client.hotrod.*;version=${project.version};-split-package:=error
+ </Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
Modified: branches/4.2.x/core/pom.xml
===================================================================
--- branches/4.2.x/core/pom.xml 2010-09-15 22:28:04 UTC (rev 2390)
+++ branches/4.2.x/core/pom.xml 2010-09-16 05:45:49 UTC (rev 2391)
@@ -12,6 +12,7 @@
</parent>
<artifactId>infinispan-core</artifactId>
+ <packaging>bundle</packaging>
<name>Infinispan Core</name>
<description>Infinispan core module</description>
Modified: branches/4.2.x/lucene-directory/pom.xml
===================================================================
--- branches/4.2.x/lucene-directory/pom.xml 2010-09-15 22:28:04 UTC (rev 2390)
+++ branches/4.2.x/lucene-directory/pom.xml 2010-09-16 05:45:49 UTC (rev 2391)
@@ -11,6 +11,7 @@
</parent>
<artifactId>infinispan-lucene-directory</artifactId>
+ <packaging>bundle</packaging>
<name>Infinispan Lucene Directory Implementation</name>
<description>A Lucene directory implementation based on Infinispan</description>
@@ -70,6 +71,18 @@
</excludes>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Export-Package>
+ ${project.groupId}.lucene.*;version=${project.version};-split-package:=error
+ </Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+
</plugins>
</build>
Modified: branches/4.2.x/parent/pom.xml
===================================================================
--- branches/4.2.x/parent/pom.xml 2010-09-15 22:28:04 UTC (rev 2390)
+++ branches/4.2.x/parent/pom.xml 2010-09-16 05:45:49 UTC (rev 2391)
@@ -235,6 +235,21 @@
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>2.0.1</version>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-DocURL>http://www.infinispan.org/</Bundle-DocURL>
+ <Export-Package>
+ ${project.groupId}.*;version=${project.version};-split-package:=error
+ </Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+
<!-- ensure parallel test execution -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Modified: branches/4.2.x/query/pom.xml
===================================================================
--- branches/4.2.x/query/pom.xml 2010-09-15 22:28:04 UTC (rev 2390)
+++ branches/4.2.x/query/pom.xml 2010-09-16 05:45:49 UTC (rev 2391)
@@ -11,6 +11,7 @@
</parent>
<artifactId>infinispan-query</artifactId>
+ <packaging>bundle</packaging>
<name>Infinispan Query API</name>
<description>Infinispan Query API module</description>
<dependencies>
@@ -49,4 +50,20 @@
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Export-Package>
+ ${project.groupId}.query.*;version=${project.version};-split-package:=error
+ </Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
Modified: branches/4.2.x/server/core/pom.xml
===================================================================
--- branches/4.2.x/server/core/pom.xml 2010-09-15 22:28:04 UTC (rev 2390)
+++ branches/4.2.x/server/core/pom.xml 2010-09-16 05:45:49 UTC (rev 2391)
@@ -11,6 +11,7 @@
</parent>
<artifactId>infinispan-server-core</artifactId>
+ <packaging>bundle</packaging>
<name>Infinispan Server Core Module</name>
<description>Infinispan server core module</description>
@@ -60,8 +61,17 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Export-Package>
+ ${project.groupId}.server.core.*;version=${project.version};-split-package:=error
+ </Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
</plugins>
-
</build>
-
</project>
Modified: branches/4.2.x/server/hotrod/pom.xml
===================================================================
--- branches/4.2.x/server/hotrod/pom.xml 2010-09-15 22:28:04 UTC (rev 2390)
+++ branches/4.2.x/server/hotrod/pom.xml 2010-09-16 05:45:49 UTC (rev 2391)
@@ -11,6 +11,7 @@
</parent>
<artifactId>infinispan-server-hotrod</artifactId>
+ <packaging>bundle</packaging>
<name>Infinispan Server Hotrod Module</name>
<description>Infinispan server hotrod module</description>
@@ -61,8 +62,17 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Export-Package>
+ ${project.groupId}.server.hotrod.*;version=${project.version};-split-package:=error
+ </Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
</plugins>
-
</build>
-
</project>
Modified: branches/4.2.x/server/memcached/pom.xml
===================================================================
--- branches/4.2.x/server/memcached/pom.xml 2010-09-15 22:28:04 UTC (rev 2390)
+++ branches/4.2.x/server/memcached/pom.xml 2010-09-16 05:45:49 UTC (rev 2391)
@@ -11,6 +11,7 @@
</parent>
<artifactId>infinispan-server-memcached</artifactId>
+ <packaging>bundle</packaging>
<name>Infinispan Server Memcached Module</name>
<description>Infinispan server memcached module</description>
@@ -61,6 +62,17 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Export-Package>
+ ${project.groupId}.server.memcached.*;version=${project.version};-split-package:=error
+ </Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
</plugins>
</build>
Modified: branches/4.2.x/server/websocket/pom.xml
===================================================================
--- branches/4.2.x/server/websocket/pom.xml 2010-09-15 22:28:04 UTC (rev 2390)
+++ branches/4.2.x/server/websocket/pom.xml 2010-09-16 05:45:49 UTC (rev 2391)
@@ -10,6 +10,7 @@
</parent>
<artifactId>infinispan-server-websocket</artifactId>
+ <packaging>bundle</packaging>
<name>Infinispan WebSocket Server</name>
<description>WebSocket interface for Infinispan</description>
@@ -29,4 +30,19 @@
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Export-Package>
+ ${project.groupId}.server.websocket.*;version=${project.version};-split-package:=error
+ </Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
Modified: branches/4.2.x/tools/pom.xml
===================================================================
--- branches/4.2.x/tools/pom.xml 2010-09-15 22:28:04 UTC (rev 2390)
+++ branches/4.2.x/tools/pom.xml 2010-09-16 05:45:49 UTC (rev 2391)
@@ -12,6 +12,7 @@
</parent>
<artifactId>infinispan-tools</artifactId>
+ <packaging>bundle</packaging>
<name>Infinispan Tools</name>
<description>Infinispan - Tools for project</description>
@@ -79,4 +80,20 @@
</dependencies>
</profile>
</profiles>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Export-Package>
+ ${project.groupId}.tools.*;version=${project.version};-split-package:=error
+ </Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
Modified: branches/4.2.x/tree/pom.xml
===================================================================
--- branches/4.2.x/tree/pom.xml 2010-09-15 22:28:04 UTC (rev 2390)
+++ branches/4.2.x/tree/pom.xml 2010-09-16 05:45:49 UTC (rev 2391)
@@ -11,6 +11,7 @@
</parent>
<artifactId>infinispan-tree</artifactId>
+ <packaging>bundle</packaging>
<name>Infinispan Tree API</name>
<description>Infinispan tree API module</description>
<dependencies>
@@ -28,4 +29,20 @@
<scope>test</scope>
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Export-Package>
+ ${project.groupId}.tree.*;version=${project.version};-split-package:=error
+ </Export-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
More information about the infinispan-commits
mailing list