[FELIX-4188] If a bundle is stopped while the SCR extender is being stopped, the callback for the STOPPING event returns before full deactivation

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1509690 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/pom.xml b/scr/pom.xml
index 6ea7c93..e173762 100644
--- a/scr/pom.xml
+++ b/scr/pom.xml
@@ -80,6 +80,12 @@
             <artifactId>org.osgi.core</artifactId>
             <version>5.0.0</version>
             <scope>provided</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.osgi</groupId>
+                    <artifactId>org.osgi.compendium</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
@@ -88,6 +94,12 @@
             <scope>provided</scope>
         </dependency>
         <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.utils</artifactId>
+            <version>1.3.0-SNAPSHOT</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
             <groupId>${project.groupId}</groupId>
             <artifactId>org.apache.felix.shell</artifactId>
             <version>1.0.0</version>
@@ -238,7 +250,8 @@
                         </Export-Package>
                         <Private-Package>
                             org.apache.felix.scr.impl.*,
-                            org.osgi.util.tracker
+                            org.osgi.util.tracker,
+                            org.apache.felix.utils.extender
                         </Private-Package>
                         <Import-Package>
                             <!--