[MRM-1651] Add OSGi support to spring-cache-oscache
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk@1368240 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/spring-cache-providers/spring-cache-oscache/pom.xml b/spring-cache-providers/spring-cache-oscache/pom.xml
index 172abb3..2000997 100644
--- a/spring-cache-providers/spring-cache-oscache/pom.xml
+++ b/spring-cache-providers/spring-cache-oscache/pom.xml
@@ -13,7 +13,9 @@
~ limitations 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>
@@ -21,12 +23,11 @@
</parent>
<artifactId>spring-cache-oscache</artifactId>
+ <packaging>bundle</packaging>
<name>Spring Cache Provider :: oscache</name>
<description>Commons Cache API : oscache implementation.</description>
- <packaging>jar</packaging>
-
<dependencies>
<dependency>
<groupId>opensymphony</groupId>
@@ -45,4 +46,14 @@
<version>1.1.1</version>
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
</project>