SLING-5949 embed commons.osgi again

This time leveraging the bnd instruction conditional-package which will automatically figure out which classes should really be embedded (incl. transitive dependencies)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1755289 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 23e5534..21c62c4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -67,6 +67,9 @@
                             SLING-INF/nodetypes/jcrlanguage.cnd,
                             SLING-INF/nodetypes/message.cnd
                         </Sling-Nodetypes>
+                        <!-- embed the commons.osgi bundle as described in http://njbartlett.name/2014/05/26/static-linking.html, 
+                             to make this bundle compatible with older versions of Sling -->
+                        <Conditional-Package>org.apache.sling.commons.osgi</Conditional-Package>
                         <Embed-Dependency>
                             jackrabbit-jcr-commons;inline="org/apache/jackrabbit/util/ISO9075.*|org/apache/jackrabbit/util/XMLChar.*|org/apache/jackrabbit/util/Text.*|org/apache/jackrabbit/commons/json/Json*"
                         </Embed-Dependency>