Hmm.... It looks like by removing common-utilities from the deps, we lost the stax-api from the deps of the plugin. That's not good. :-(
If you add a stax-api (and maybe an impl like woodstox) to the dependencies, that might work. Can you give that a try? Dan On Tue October 13 2009 5:27:05 am Sergey Beryozkin wrote: > Hi, > > I started working on a ServiceMix features pacth to do with the updates to > cxf osgi http transport last week and built a patch with 2.2.4-SNAPSHOT. > I'm hoping to submit a patch today but being stuck with the following > build failure when updated the CXF version to 2.2.4 : > > INFO] > ------------------------------------------------------------------------ > [INFO] Building Apache ServiceMix CXF Transport for NMR > [INFO] task-segment: [clean, install] > [INFO] > ------------------------------------------------------------------------ > [INFO] [clean:clean {execution: default-clean}] > [INFO] Deleting file set: > D:\Work\ServiceMix\features\cxf\cxf-transport-nmr\targ et (included: [**], > excluded: []) > [INFO] [cxf-common-xsd:xsdtojava {execution: generate-sources}] > [FATAL ERROR] org.apache.cxf.maven_plugin.XSDToJavaMojo#execute() caused a > linka ge error (java.lang.NoClassDefFoundError) and may be out-of-date. > Check the real ms: > [FATAL ERROR] Plugin realm = > app0.child-container[org.apache.cxf:cxf-common-xsd: 2.2.4] > urls[0] = > file:/D:/Work/ServiceMix/m2/org/apache/cxf/cxf-common-xsd/2.2.4/cxf-co > mmon-xsd-2.2.4.jar > urls[1] = > file:/D:/Work/ServiceMix/m2/com/sun/xml/bind/jaxb-xjc/2.1.12/jaxb-xjc- > 2.1.12.jar > urls[2] = > file:/D:/Work/ServiceMix/m2/com/sun/xml/bind/jaxb-impl/2.1.12/jaxb-imp > l-2.1.12.jar > urls[3] = > file:/D:/Work/ServiceMix/m2/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.j ar > urls[4] = > file:/D:/Work/ServiceMix/m2/org/apache/geronimo/specs/geronimo-activat > ion_1.1_spec/1.0.2/geronimo-activation_1.1_spec-1.0.2.jar > urls[5] = file:/D:/Work/ServiceMix/m2/ant/ant/1.6.5/ant-1.6.5.jar > urls[6] = > file:/D:/Work/ServiceMix/m2/ant/ant-nodeps/1.6.5/ant-nodeps-1.6.5.jar > urls[7] = > file:/D:/Work/ServiceMix/m2/org/codehaus/plexus/plexus-utils/1.1/plexu > s-utils-1.1.jar > [FATAL ERROR] Container realm = plexus.core > urls[0] = file:/D:/Work/apache-maven-2.2.1/bin/../lib/maven-2.2.1-uber.jar > > Tried with Maven 2.2.1 and earlier versions... > > What may be causing it ? > > thanks, Sergey > -- Daniel Kulp dk...@apache.org http://www.dankulp.com/blog