SLING-5327 inline the required classes from org.apache.felix.scr

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1716118 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index adf4ceb..575c118 100644
--- a/pom.xml
+++ b/pom.xml
@@ -87,11 +87,12 @@
             <version>5.0.0</version>
             <scope>compile</scope>
         </dependency>
+        <!-- The required classes o.a.f.scr.impl.helper.Annotations and o.a.f.scr.impl.helper.Coercions are inlined -->
         <dependency>
             <groupId>org.apache.felix</groupId>
             <artifactId>org.apache.felix.scr</artifactId>
             <version>2.0.2</version>
-            <scope>compile</scope>
+            <scope>provided</scope>
         </dependency>
 
         <dependency>
@@ -141,6 +142,13 @@
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
                 <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Embed-Dependency>
+                            org.apache.felix.scr;inline="org/apache/felix/scr/impl/helper/Annotations*|org/apache/felix/scr/impl/helper/Coercions*"
+                        </Embed-Dependency>
+                    </instructions>
+                </configuration>
             </plugin>
       
             <plugin>