SLING-1193 Have the bundle plugin set the correct import version range for the resource API implemented by the bundles

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@980700 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 6f8b594..05c934d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,6 +63,10 @@
                             org.apache.sling.bundleresource.*,
                             org.osgi.util.tracker
                         </Private-Package>
+                        <Import-Package>
+                            org.apache.sling.api.resource;version="[$(version;==;$(@)),$(version;=+;$(@)))",
+                            *
+                        </Import-Package>
                         <DynamicImport-Package>
                             org.apache.felix.webconsole
                         </DynamicImport-Package>