Christian Müller created CAMEL-8566:
---------------------------------------
Summary: Feature camel-cxf doesn't install all required
dependencies
Key: CAMEL-8566
URL: https://issues.apache.org/jira/browse/CAMEL-8566
Project: Camel
Issue Type: Bug
Components: karaf
Affects Versions: 2.15.1
Reporter: Christian Müller
Assignee: Christian Müller
Fix For: 2.15.2
The camel-cxf feature doesn't install the camel-spring feature, which is a
required dependency. This leads to errors like this one:
{noformat}
ERROR: Bundle org.apache.camel.camel-cxf [105] Error starting
mvn:org.apache.camel/camel-cxf/2.15.1 (org.osgi.framework.BundleException:
Unresolved constraint in bundle org.apache.camel.camel-cxf [105]: Unable to
resolve 105.0: missing requirement [105.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.camel.spring)(version>=2.15.0)(!(version>=2.16.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.camel.camel-cxf [105]: Unable to resolve 105.0: missing requirement
[105.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.camel.spring)(version>=2.15.0)(!(version>=2.16.0)))
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:745)
ERROR: Bundle org.apache.camel.camel-cxf [105] Error starting/stopping bundle.
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.camel.camel-cxf [105]: Unable to resolve 105.0: missing requirement
[105.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.camel.spring)(version>=2.15.0)(!(version>=2.16.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.camel.camel-cxf [105]: Unable to resolve 105.0: missing requirement
[105.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.camel.spring)(version>=2.15.0)(!(version>=2.16.0)))
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)
at org.apache.felix.framework.Felix.setBundleStartLevel(Felix.java:1491)
at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:334)
at java.lang.Thread.run(Thread.java:745)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)