On Tuesday 26 October 2010 10:22:25 am Glen Mazza wrote: > Thanks Christian, do you know if cxf-common-xsd gives me any benefit over > using the standard maven-jaxb2-plugin[1]?
For the longest time, the jaxb2 plugin was generally very poorly maintained, locked down to ancient versions of JAXB (and we had trouble getting it working with the newer versions we usually use), and wasn't available at central. However, lately, the jaxb2-commons stuff has been much better maintained and handled and is available at central. Thus, it's kind of a toss up. With our own plugin, we can do some extra things (like support our "classpath:" url format) and such, but it really is just a very thin wrapper on the XJC command line tool so for most cases, either is fine. Dan > > Glen > > [1] https://maven-jaxb2-plugin.dev.java.net/ > > Schneider Christian wrote: > > You can use the maven plugin cxf-common-xsd. > > > > I have used this in the camel soap component. See here: > > http://svn.apache.org/repos/asf/camel/trunk/components/camel-soap/pom.xml -- Daniel Kulp [email protected] http://dankulp.com/blog
