Fix FELIX-3356

Keep the asm packages private.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1326313 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/composite/pom.xml b/ipojo/composite/pom.xml
index 4627efd..8e50512 100644
--- a/ipojo/composite/pom.xml
+++ b/ipojo/composite/pom.xml
@@ -81,18 +81,21 @@
               org.apache.felix.ipojo.parser,
               org.apache.felix.ipojo.util,
               org.apache.felix.ipojo.manipulation,
-              org.objectweb.asm*;version=3.3,
               org.osgi.framework;version=1.3,
+              !org.objectweb.asm.tree,
             </Import-Package>
             <Private-Package>
               org.apache.felix.ipojo.composite.architecture,
               org.apache.felix.ipojo.composite.service*,
               org.apache.felix.ipojo.composite.instance,
-              org.apache.felix.ipojo.composite.util
+              org.apache.felix.ipojo.composite.util,
+                <!-- ASM (Manipulator dependencies) -->
+              org.objectweb.asm.commons,
+              org.objectweb.asm.signature,
+              org.objectweb.asm
             </Private-Package>
             <Export-Package>
-              org.apache.felix.ipojo.composite; version="${ipojo.package.version}",
-              !org.objectweb.asm.xml*
+              org.apache.felix.ipojo.composite; version="${ipojo.package.version}"
             </Export-Package>
             <Include-Resource>
               META-INF/LICENSE=LICENSE,
diff --git a/ipojo/core/pom.xml b/ipojo/core/pom.xml
index e417c06..acf5882 100644
--- a/ipojo/core/pom.xml
+++ b/ipojo/core/pom.xml
@@ -132,7 +132,11 @@
             <Private-Package>
               org.apache.felix.ipojo.handlers.architecture,
               org.apache.felix.ipojo.handlers.lifecycle.callback,
-              org.apache.felix.ipojo.handlers.lifecycle.controller
+              org.apache.felix.ipojo.handlers.lifecycle.controller,
+              <!-- ASM (Manipulator dependencies) -->
+              org.objectweb.asm.commons,
+              org.objectweb.asm.signature,
+              org.objectweb.asm
             </Private-Package>
             <Export-Package>
               org.apache.felix.ipojo; version="${ipojo.package.version}",
@@ -151,10 +155,6 @@
               <!-- Compendium packages -->
               org.osgi.service.cm,
               org.osgi.service.log,
-              <!-- ASM (Manipulator dependencies -->
-              org.objectweb.asm.commons;version=3.3.1,
-              org.objectweb.asm.signature;version=3.3.1,
-              org.objectweb.asm;version=3.3.1
             </Export-Package>
             <Include-Resource>
               META-INF/LICENSE=LICENSE,