Hi Freeman,
that sounds good. So nmr should be quite lightweight now in its
dependencies.
Christian
Am 07.08.2012 09:44, schrieb Freeman Fang:
Hi Christian,
The package like javax.xml.bind.annotation actually is from the auto-generated
code from wsdl which is only used for tests, that's from the incorrect
cxf-codegen-plugin configuration in camel-nmr module, maven-bundle-plugin don't
scan/check tests classes but somehow previously the auto-generated code are in
sourceRoot folder but not the expected testSourceRoot folder, I just fixed it.
-
<sourceRoot>${basedir}/target/generated/test/java</sourceRoot>
+
<testSourceRoot>${basedir}/target/generated/test/java</testSourceRoot>
Freeman
-------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042
On 2012-8-7, at 上午12:44, Christian Schneider wrote:
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
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
Talend Application Integration Division http://www.talend.com