I have a CXF JAX-RS app that is being built with Maven.  I'm looking at 
converting the build to Gradle.

I noticed the "gradle-jaxb-plugin" on github, which lets me run "xjc".  
However, I need one jaxb extension, and that doesn't provide access to 
extensions yet.

My Maven build currently uses "cxf-xjc-plugin" to run xjc.  What does this do 
that is specific to CXF that "vanilla" xjc wouldn't do?

Overall, I guess examples like this come close to "manually" calling xjc in 
Gradle: 
http://stackoverflow.com/questions/8158453/howto-generate-classes-from-wsdl-and-xsd-with-gradle-equivalent-to-maven-jaxb2
 .  It doesn't cover adding extensions, which I guess is just adding to the 
classpath and command-line arguments.

Has anyone gone down this path who can provide examples?

Reply via email to