[ 
https://issues.apache.org/jira/browse/KARAF-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018265#comment-13018265
 ] 

Gert Vanthienen edited comment on KARAF-564 at 4/11/11 10:01 AM:
-----------------------------------------------------------------

Fixed in http://svn.apache.org/viewvc?view=revision&revision=1090998
and backported to 2.2.x branch in 
http://svn.apache.org/viewvc?view=revision&revision=1090999

Resolution of optional imports is not enabled by default, it requires a 
configadmin PID called 'org.apache.karaf.features.obr' to contain a setting 
'resolveOptionalImports=true'

      was (Author: gertvanthienen):
    Fixed in http://svn.apache.org/viewvc?view=revision&revision=1090998
and backported to 2.2.x branch in 
http://svn.apache.org/viewvc?view=revision&revision=1090999

Resolution of optional imports is not enabled by default, it requires a 
configadmin PID called {{org.apache.karaf.features.obr}} to contain a setting 
{{resolveOptionalImports=true}}
  
> Allow configuring features OBR resolver to resolve optional imports as well
> ---------------------------------------------------------------------------
>
>                 Key: KARAF-564
>                 URL: https://issues.apache.org/jira/browse/KARAF-564
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>            Reporter: Gert Vanthienen
>            Assignee: Gert Vanthienen
>             Fix For: 2.2.1, 3.0.0
>
>
> In ServiceMix, we started leveraging the features OBR resolver functionality 
> to avoid installing excess bundles when we combine features from other 
> projects (like ActiveMQ, Camel and CXF) with our own descriptors.  Some of 
> our bundles have quite a few optional imports, and if we want to allow users 
> to use these optional bits, we have to ensure that none of the providing 
> bundles has "dependency=true" set on them.  It would be nice if the OBR 
> resolver itself could be configured to also look for optional imports 
> instead, as this would make the features a lot easier to maintain.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to