Jaxen pulled in from axiom-parser pulls in an ancient version of Xerces.   If 
you add a dependency on a newer xerces or exclude the xerces dep from 
axiom-parser, you should be all set.

Dan


On Oct 12, 2012, at 3:05 AM, Jim Talbut <[email protected]> wrote:

> Hi,
> 
> I'm trying to add an Atom feed of data from an existing CXF OSGi bundle.
> The bundle currently has a CXF interceptor and a CXF SOAP service in it.
> 
> In order to get the Atom feed running I seem to need to add the following two 
> dependencies:
>        <dependency>
>            <groupId>org.apache.abdera</groupId>
>            <artifactId>abdera-parser</artifactId>
>            <version>1.2-SNAPSHOT</version>
>            <scope>provided</scope>
>        </dependency>
> If I just add abdera-core my code compiles, but I get a runtime error.
> 
> Unfortunately, when I add abdera-parser I get this build-time error:
> Failed to execute goal org.apache.cxf:cxf-codegen-plugin:2.6.0:wsdl2java 
> (generate-jaxb) on project esb.cxf.tracking: 
> org.apache.xerces.dom.ElementNSImpl.setUserData(Ljava/lang/String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object;
>  -> [Help 1]
> 
> I think this is due to abdera-parser including four jars within its jar 
> (axiom-impl, geronimo-stax-api, jaxen, wstx-asl).
> 
> Does anyone know how I can get a build with wsdl2java and Atom in it?
> I'm not at all attached to Abdera if there is another way to generate the 
> Atom feed (though I'm a fan of doing as little as possible and don't know the 
> Atom standard well).
> 
> Jim

-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to