Hi

We cannot include that dependency due to licensing issues, as its license
is not compatible with ASLv2. This situation is alerted in the Camel
XmlJson doc page if I remember correctly.

Your IDE probably didn't complain because the dependency does exist in the
POM and can be resolved from Maven Central, but it's marked with scope =
runtime (or test, I can't remember), that's why it's not packaged with the
build.

Raúl.
On 16 Oct 2015 21:04, "Shiv Kandavelu" <[email protected]> wrote:

> I am a newbie when it comes to Camel. So bear with me if I don't use the
> correct Terminology.
>
> I am converting a large amount of XML to JSON format and was trying to use
> the XmlJsonDataFormat in my Router. It compiled fine but during run time I
> kept getting class loader error in nu/../parent... I found after a while
> that I have to include xom.jar in my dependencies. I couldn't find xom.jar
> as part of camel and I have to download it separately, once I added xom,
> everything worked fine.
>
> I have 2 questions,
>
> 1. if xom.jar is a dependency why it is not packaged and distributed with
> Camel?
> 2. When I added camel-xmljson in my project in NetBeans, it added the
> dependent jars, but it never complained about the xom dependency. why it
> didn't complain?
>
> Please help me understand.
>
> Thanks,
> -Shiv
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/XmlJsonDataFormat-Camel-2-16-0-xom-jar-tp5772736.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to