You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Xavier Courangon (JIRA)" <ji...@apache.org> on 2013/01/29 15:47:19 UTC
[jira] [Commented] (FELIX-3877) Transitive optional dependencies
add non-optional Import-Packages
[ https://issues.apache.org/jira/browse/FELIX-3877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13565412#comment-13565412 ]
Xavier Courangon commented on FELIX-3877:
-----------------------------------------
A messy workaround is to add these optional transitive dependencies as direct optional dependencies.
> Transitive optional dependencies add non-optional Import-Packages
> -----------------------------------------------------------------
>
> Key: FELIX-3877
> URL: https://issues.apache.org/jira/browse/FELIX-3877
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Affects Versions: maven-bundle-plugin-2.3.7
> Reporter: Xavier Courangon
>
> When a Maven dependency is marked optional, the imported packages are optional also as expected.
> But it this is not true for transitive dependencies of embedded dependencies the imported packages are not optional. The Bundle cannot start.
--
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