cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Smyth <andrea.sm...@iona.com>
Subject Re: using jaxb2 (xjc) plugins with the m2 cxf-codegen-plugin
Date Fri, 24 Nov 2006 18:06:28 GMT
James Strachan wrote:

> I tried using it today on a project - looks good. Though I couldn't
> figure out how to enable the use of jaxb2 XJC plugins. Is there some
> configuration to enable them?

Hi James,

No, this is only possible for the cxf-common-xsd plugin, via the 
extension and extensionArgs options (see e.g. pom.xml in 
cxf-rt-transports-http).
The cxf-codegen-plugin does not have such options, though it probably 
should as it also calls into xjc.

Andrea.

>
> I tried adding them as a dependency but they don't get invoked. I'm
> wondering is there a way to pass in the -Xdv (or whatever) parameters
> you'd normally pass to XJC into the CXF codegen plugin?
>


Mime
View raw message