[MRM-1651] Add OSGi support to spring-cache-api

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk@1368227 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/spring-cache-api/pom.xml b/spring-cache-api/pom.xml
index 96a51a5..8310a92 100644
--- a/spring-cache-api/pom.xml
+++ b/spring-cache-api/pom.xml
@@ -18,7 +18,9 @@
   ~ under the License.
   -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
   <modelVersion>4.0.0</modelVersion>
+
   <parent>
     <groupId>org.apache.archiva.redback.components.cache</groupId>
     <artifactId>spring-cache</artifactId>
@@ -26,6 +28,7 @@
   </parent>
 
   <artifactId>spring-cache-api</artifactId>
+  <packaging>bundle</packaging>
   <name>Spring Cache API</name>
 
   <description>Common Cache API.</description>
@@ -71,4 +74,14 @@
     </dependency>
 
   </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </build>
+
 </project>