You wouldn't get a use constraint with a different version though would you.
I think the problem is when karaf installs a duplicate bundle. You raise a
good point regarding exclusions though.

Perhaps the change should focus on *not *installing a bundle if it already
present in the system bundle so other bundles can't be exposed to the same
import from multiple locations. This would also remove the need for users to
specify exclusions and the kar would still be complete.

OSGi prevents installation of the same bundle so does that mean this can
only occur with bundles that wrap other artefacts and then export a
duplicate package?



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Dependency-on-Camel-brings-in-a-jaxb-impl-that-causes-a-use-constraint-violation-tp4037029p4037089.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to