[DIRECTMEMORY-127] ehcache integration OSGI tests no longer work
Submitted by Jeff MAURY

git-svn-id: https://svn.apache.org/repos/asf/directmemory/trunk@1497284 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/integrations/ehcache/pom.xml b/integrations/ehcache/pom.xml
index 80681b5..bb72244 100644
--- a/integrations/ehcache/pom.xml
+++ b/integrations/ehcache/pom.xml
@@ -33,7 +33,6 @@
   <description>EHCache CacheStore Implementation to integrate DirectMemory Cache as OffHeapStore.</description>
 
   <properties>
-    <!--
     <osgi.import>
       org.apache.directmemory*;version="${project.version}",
       org.slf4j*,
@@ -44,12 +43,20 @@
       net.sf.ehcache.store.offheap;version="2.6.0";-noimport:=true,
       net.sf.ehcache;version="2.6.0";-noimport:=true
     </osgi.export>
-    -->
   </properties>
 
   <build>
     <plugins>
       <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <configuration>
+          <instructions>
+            <Fragment-Host>org.apache.servicemix.bundles.ehcache</Fragment-Host>
+          </instructions>
+        </configuration>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
diff --git a/itests/pom.xml b/itests/pom.xml
index 959ce17..182d0b6 100644
--- a/itests/pom.xml
+++ b/itests/pom.xml
@@ -30,11 +30,7 @@
   <name>Apache DirectMemory :: Integration Tests</name>
   <description>${project.name}</description>
 
-  <!--
-  olamy: currently this fail as ehcache fail to load the class net.sf.ehcache.EnterpriseFeaturesManager
-  their ClassLoaderUtil use Class.forName maybe one of the reason
   <modules>
     <module>osgi</module>
   </modules>
-  -->
-</project>
\ No newline at end of file
+</project>