[infinispan-commits] Infinispan SVN: r2666 - trunk/cachestore/cassandra and 1 other directory.

infinispan-commits at lists.jboss.org infinispan-commits at lists.jboss.org
Thu Nov 4 06:50:17 EDT 2010


Author: trustin
Date: 2010-11-04 06:50:16 -0400 (Thu, 04 Nov 2010)
New Revision: 2666

Modified:
   branches/4.2.x/cachestore/cassandra/pom.xml
   trunk/cachestore/cassandra/pom.xml
Log:
Made sure cachestore-cassandra is an OSGi bundle

Modified: branches/4.2.x/cachestore/cassandra/pom.xml
===================================================================
--- branches/4.2.x/cachestore/cassandra/pom.xml	2010-11-04 10:36:24 UTC (rev 2665)
+++ branches/4.2.x/cachestore/cassandra/pom.xml	2010-11-04 10:50:16 UTC (rev 2666)
@@ -9,6 +9,7 @@
 		<relativePath>../pom.xml</relativePath>
 	</parent>
 	<artifactId>infinispan-cachestore-cassandra</artifactId>
+	<packaging>bundle</packaging>
 	<name>Infinispan CassandraCacheStore</name>
 	<description>Infinispan CassandraCacheStore module</description>
 
@@ -55,6 +56,17 @@
 					<parallel>false</parallel>
 				</configuration>
 			</plugin>
+			<plugin>
+				<groupId>org.apache.felix</groupId>
+				<artifactId>maven-bundle-plugin</artifactId>
+				<configuration>
+					<instructions>
+						<Export-Package>
+							${project.groupId}.loaders.cassandra.*;version=${project.version};-split-package:=error
+						</Export-Package>
+					</instructions>
+				</configuration>
+			</plugin>
 		</plugins>
 	</build>
 

Modified: trunk/cachestore/cassandra/pom.xml
===================================================================
--- trunk/cachestore/cassandra/pom.xml	2010-11-04 10:36:24 UTC (rev 2665)
+++ trunk/cachestore/cassandra/pom.xml	2010-11-04 10:50:16 UTC (rev 2666)
@@ -9,6 +9,7 @@
 		<relativePath>../pom.xml</relativePath>
 	</parent>
 	<artifactId>infinispan-cachestore-cassandra</artifactId>
+	<packaging>bundle</packaging>
 	<name>Infinispan CassandraCacheStore</name>
 	<description>Infinispan CassandraCacheStore module</description>
 
@@ -55,6 +56,17 @@
 					<parallel>false</parallel>
 				</configuration>
 			</plugin>
+			<plugin>
+				<groupId>org.apache.felix</groupId>
+				<artifactId>maven-bundle-plugin</artifactId>
+				<configuration>
+					<instructions>
+						<Export-Package>
+							${project.groupId}.loaders.cassandra.*;version=${project.version};-split-package:=error
+						</Export-Package>
+					</instructions>
+				</configuration>
+			</plugin>
 		</plugins>
 	</build>
 



More information about the infinispan-commits mailing list