[
https://issues.apache.org/jira/browse/OAK-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485936#comment-13485936
]
Chetan Mehrotra commented on OAK-409:
-------------------------------------
No you would not require OSGi jars in classpath for non OSGi usecases as
provided scope dependencies are not transitive
> OSGi related dependencies should be set to provided scoped and not marked as
> optional
> -------------------------------------------------------------------------------------
>
> Key: OAK-409
> URL: https://issues.apache.org/jira/browse/OAK-409
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 0.5
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Labels: osgi
> Fix For: 0.6
>
>
> Currently the OSGi related dependencies org.osgi.core and org.osgi.compendium
> are marked as optional. Due to this packages under org.osgi.* are marked as
> optional which is not correct.
> As such dependencies are already marked as provided scope they would not be
> included as part of transient dependencies. For more details refer to [1]
> Fix: The optional flag should be removed
> [1] http://markmail.org/thread/njukyten6fdipts3
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira