FELIX-1553: fileinstall bundle should have an optional import on org.osgi.service.log instead of exporting it

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@810936 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/fileinstall/pom.xml b/fileinstall/pom.xml
index eb949db..871b3fc 100644
--- a/fileinstall/pom.xml
+++ b/fileinstall/pom.xml
@@ -48,14 +48,22 @@
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
-        <version>1.4.3</version>
+        <version>2.0.0</version>
         <extensions>true</extensions>
         <configuration>
           <instructions>
-            <Export-Package>org.apache.felix.fileinstall.*,org.osgi.service.cm, org.osgi.service.log</Export-Package>
+            <Export-Package>
+                org.apache.felix.fileinstall*,
+                org.osgi.service.cm
+            </Export-Package>
+            <Import-Package>
+                org.osgi.service.log;resolution:=optional,
+                *
+            </Import-Package>
             <Bundle-Activator>org.apache.felix.fileinstall.FileInstall</Bundle-Activator>
             <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
             <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
+            <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
           </instructions>
         </configuration>
       </plugin>