Author: ggregory
Date: Mon Mar 12 16:38:31 2018
New Revision: 1826569

URL: http://svn.apache.org/viewvc?rev=1826569&view=rev
Log:
[VFS-655] OSGI MANIFEST.MF "Import-Package" should be ";resolution:=optional" 
for Maven "optional" dependencies.

Modified:
    commons/proper/vfs/trunk/pom.xml
    commons/proper/vfs/trunk/src/changes/changes.xml

Modified: commons/proper/vfs/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/pom.xml?rev=1826569&r1=1826568&r2=1826569&view=diff
==============================================================================
--- commons/proper/vfs/trunk/pom.xml (original)
+++ commons/proper/vfs/trunk/pom.xml Mon Mar 12 16:38:31 2018
@@ -167,6 +167,13 @@
     <version.checkstyle>2.17</version.checkstyle>
     <!-- make sure bundle plugin has dependency informations for 'optional' -->
     <commons.osgi.excludeDependencies />
+       <commons.osgi.import>
+               org.apache.hadoop.*;resolution:=optional,
+               org.apache.jackrabbit.*;resolution:=optional,
+               org.apache.tools.ant.*;resolution:=optional,
+               org.apache.commons.httpclient.*;resolution:=optional,
+               *
+       </commons.osgi.import>
     <!-- Newer versions of clirr throw an NPE building the site -->
     <commons.clirr.version>2.6</commons.clirr.version>
     <!-- Avoid warnings about being unable to find jars during site building 
-->

Modified: commons/proper/vfs/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/src/changes/changes.xml?rev=1826569&r1=1826568&r2=1826569&view=diff
==============================================================================
--- commons/proper/vfs/trunk/src/changes/changes.xml (original)
+++ commons/proper/vfs/trunk/src/changes/changes.xml Mon Mar 12 16:38:31 2018
@@ -65,6 +65,9 @@ The <action> type attribute can be add,u
       <action issue="VFS-653" dev="ggregory" type="update">
         Replace use of deprecated APIs in HDFS provider.
       </action>
+      <action issue="VFS-655" dev="ggregory" type="fix" due-to="Arnaud MERGEY">
+        OSGI MANIFEST.MF "Import-Package" should be ";resolution:=optional" 
for Maven "optional" dependencies.
+      </action>
     </release>
     <release version="2.2" date="2017-10-06" description="New features and bug 
fix release.">
       <action issue="VFS-642" dev="pschumacher" type="update" 
due-to="ilangoldfeld">


Reply via email to