Class ModelloStaxReaderMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="stax-reader", defaultPhase=GENERATE_SOURCES, threadSafe=true) public class ModelloStaxReaderMojo extends AbstractModelloSourceGeneratorMojo
Creates an StAX reader from the model.
  • Field Details

    • versionCheck

      @Parameter(property="modello.stax.versionCheck", defaultValue="true") private boolean versionCheck
      Whether the generated reader checks that the model version of the document matches the version of the reader. Only applies to models with a versionDefinition.
      Since:
      2.9.0
  • Constructor Details

    • ModelloStaxReaderMojo

      @Inject public ModelloStaxReaderMojo(org.codehaus.plexus.build.BuildContext buildContext, org.codehaus.modello.core.ModelloCore modelloCore)
  • Method Details