FELIX-2264 Implement for lazy service registration and dynamic API binding

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@931858 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole-plugins/memoryusage/pom.xml b/webconsole-plugins/memoryusage/pom.xml
index c99ddac..921af12 100644
--- a/webconsole-plugins/memoryusage/pom.xml
+++ b/webconsole-plugins/memoryusage/pom.xml
@@ -71,20 +71,24 @@
                         </Bundle-SymbolicName>
                         <Import-Package>
                             javax.management.*,
-                            org.osgi.framework,
-                            org.slf4j.*,
+                            org.osgi.framework
+                        </Import-Package>
+                        <DynamicImport-Package>
+                            <!-- logging -->
+                            org.osgi.service.log;version="[1.3,2)",
                             
-                            <!-- plug into the traditional Felix shell -->
-                            org.apache.felix.shell;
+                            <!-- configuration -->
+                            org.osgi.service.cm;version="[1.2,2)",
+                            org.osgi.service.metatype;version="[1.1,2)",
                             
                             <!-- plug into the web console -->
-                            javax.servlet.*;
-                            org.apache.felix.webconsole;
+                            javax.servlet;
+                            javax.servlet.http;version="[2.3,3)",
+                            org.apache.felix.webconsole;version="[3.0,3.1)",
 
-                            <!-- support configuration -->
-                            org.osgi.service.cm;
-                            org.osgi.service.metatype;resolution:=optional
-                        </Import-Package>
+                            <!-- plug into the traditional Felix shell -->
+                            org.apache.felix.shell;version="[1.0,1.1)"
+                        </DynamicImport-Package>
                         <Private-Package>
                             org.apache.felix.webconsole.plugins.memoryusage.*
                         </Private-Package>
@@ -127,16 +131,5 @@
             <version>2.3</version>
             <scope>provided</scope>
         </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-            <version>1.5.2</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>3.8.1</version>
-        </dependency>
     </dependencies>
 </project>