Goals

Note: The goals in this plugin are only executed when the maven.jaxb.src.dir property is set to an existing directory.

GoalDescription
jaxb:generate

Generates Java source files for all XSD files in the ${maven.jaxb.src.dir} directory.

This goal is called before the java:compile goal so that code is generated before compilation.

jaxb:prepare-filesystem

Creates the ${maven.build.dir}/jaxb directory which holds jaxb generated code.

This directory is added to the code to be compiled by Maven, as specified by the maven.compile.src.set property.