You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/03/12 16:39:00 UTC

[jira] [Resolved] (VFS-655) OSGI MANIFEST.MF "Import-Package" should be ";resolution:=optional" for Maven "optional" dependencies

     [ https://issues.apache.org/jira/browse/VFS-655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Gregory resolved VFS-655.
------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.1

In svn trunk. Please verify and close.

> OSGI MANIFEST.MF "Import-Package" should be ";resolution:=optional" for Maven "optional" dependencies
> -----------------------------------------------------------------------------------------------------
>
>                 Key: VFS-655
>                 URL: https://issues.apache.org/jira/browse/VFS-655
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Arnaud MERGEY
>            Assignee: Gary Gregory
>            Priority: Major
>              Labels: regression
>             Fix For: 2.2.1
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> In the Maven "pom.xml" there are several "optional" dependencies
> In the "Import-Package" section of the MANIFEST.MF it should also be "optional"
> It is something that was fixed in 2.1 by VFS-498, but for some reasons there is a regression in 2.2 for these dependencies, that came back as mandatory:
>  org.apache.hadoop.xxx
>  org.apache.jackrabbit.xxx
>  org.apache.tools.ant
>   



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)