FELIX-3577 Adapt to new helper classes and add dependency to OSGi Core 5.0 (to
  have support for generics). In turn we limit the Framework API import to 1.4
  (aka R4.1) to still be able to support older framework releases (the integration
  tests run with Felix Framework 1.8.0). This also allows me to remove the copy
  of the generified OSGi ServiceReference class.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1356236 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/configadmin/pom.xml b/configadmin/pom.xml
index b6b0bf3..4d5e84c 100644
--- a/configadmin/pom.xml
+++ b/configadmin/pom.xml
@@ -81,10 +81,15 @@
     </properties>
 
     <dependencies>
+    
+        <!--
+            Depend on latest version to make use of generics. Still we
+            make sure to only require Framework API 1.5 (OSGi Core R4.2)
+        -->
         <dependency>
             <groupId>org.osgi</groupId>
             <artifactId>org.osgi.core</artifactId>
-            <version>4.1.0</version>
+            <version>5.0.0</version>
             <scope>provided</scope>
         </dependency>
         
@@ -168,10 +173,12 @@
                         </Export-Package>
                         <Private-Package>
                             org.apache.felix.cm.impl,
+                            org.apache.felix.cm.impl.helper,
                             org.osgi.util.tracker
                         </Private-Package>
                         <Import-Package>
                             org.osgi.service.cm;version="[1.5,1.6)",
+                            org.osgi.framework;version="[1.4,2)",
                             *
                         </Import-Package>
                         <DynamicImport-Package>