This does not seem to be a dependency on cxf. The packages are just API packages that should be available from servicemix directly.

Christian


Am 06.08.2012 17:39, schrieb lichtin:
Hi
When trying to use NMR Camel component I'm running into its CXF dependency.
Could this dependency be removed? It may well be obsolete by now.

In particular I'm seeing the following problem:

org.osgi.framework.BundleException: Unable to resolve module
org.apache.servicemix.camel.component [187.0] because it is exposed to
package 'javax.xml.bind.annotation' from org.apache.felix.framework [0] and
org.apache.servicemix.specs.jaxb-api-2.2 [93.0] via two dependency chains.

Chain 1:
   org.apache.servicemix.camel.component [187.0]
     import: (package=javax.xml.bind.annotation)
      |
     export: package=javax.xml.bind.annotation
   org.apache.felix.framework [0]

Chain 2:
   org.apache.servicemix.camel.component [187.0]
     import: (&(package=javax.xml.ws)(version>=2.2.0))
      |
     export: package=javax.xml.ws; uses:=javax.xml.bind.annotation
   org.apache.servicemix.specs.jaxws-api-2.2 [94.0]
     import: (&(package=javax.xml.bind.annotation)(version>=2.2.0))
      |
     export: package=javax.xml.bind.annotation
   org.apache.servicemix.specs.jaxb-api-2.2 [93.0]



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/NMR-why-the-dependency-on-CXF-tp5714084.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com

Reply via email to