Skip to content
highsource edited this page Oct 12, 2014 · 6 revisions

Using custom JAXB2 plugins

  • plugins/plugin - Configures artifacts of the custom JAXB2 plugins you want to use.
  • args/arg - A list of extra XJC's command-line arguments (items must include the dash "-"). Use this argument to enable the JAXB2 plugin you want to use.

Example: true -XtoString -Xequals -XhashCode -Xcopyable org.jvnet.jaxb2_commons jaxb2-basics

See the [sample JAXB plugins project|Sample Project Using JAXB plugins] for example.

Clone this wiki locally