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

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk@1368235 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/spring-cache-providers/spring-cache-ehcache/pom.xml b/spring-cache-providers/spring-cache-ehcache/pom.xml
index 126da54..d5124c4 100644
--- a/spring-cache-providers/spring-cache-ehcache/pom.xml
+++ b/spring-cache-providers/spring-cache-ehcache/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-providers</artifactId>
@@ -26,12 +28,11 @@
   </parent>
 
   <artifactId>spring-cache-ehcache</artifactId>
+  <packaging>bundle</packaging>
   <name>Spring Cache Provider :: ehcache</name>
 
   <description>Commons Cache API : ehcache implementation.</description>
 
-  <packaging>jar</packaging>
-
   <dependencies>
     <dependency>
       <groupId>net.sf.ehcache</groupId>
@@ -50,4 +51,14 @@
       <version>3.2</version>
     </dependency>
   </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </build>
+
 </project>