Hi there,
It the last versions of karaf, feature's bundles can be marked with
dependency="true" attribute.
It seems that such a bundles will not be resolved when installing a new feature.
For example I have third party feature cxf
<feature name="cxf">
...
<bundle
dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jdom/1.1_3</bundle>
<bundle
dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j/1.6.1_2</bundle>
<bundle
dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream/1.3_3</bundle>
...
</feature>
And in my feature I would like to add a reference to this cxf feature
<feature name="my-feature">
<feature>cxf</feature>
</feature>
When I'm trying to install my-feature I would like the bundles marked as
dependencies in cxf feature to be resolved because I'm getting exceptions like
"Requested factory com.ctc.wstx.stax.WstxInputFactory cannot be located", etc.
I don't like my feature to depend from "dependencies" of third party features
explicitly, because it does not use them.
Is it possible to force third party features to resolve their dependencies?
Best Regards,
Sergey Zhemzhitsky
_______________________________________________________
The information contained in this message may be privileged and conf idential
and protected from disclosure. If you are not the original intended recipient,
you are hereby notified that any review, retransmission, dissemination, or
other use of, or taking of any action in reliance upon, this information is
prohibited. If you have received this communication in error, please notify the
sender immediately by replying to this message and delete it from your
computer. Thank you for your cooperation. Troika Dialog, Russia.
If you need assistance please contact our Contact Center (+7495) 258 0500 or
go to www.troika.ru/eng/Contacts/system.wbp