Class XmlModelWriterGeneratorMojo

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

@Mojo(name="generate-xml-writer", threadSafe=true, requiresDependencyResolution=COMPILE_PLUS_RUNTIME, defaultPhase=PROCESS_CLASSES) public class XmlModelWriterGeneratorMojo extends ModelWriterGeneratorMojo
Generate Model lightweight XML Writer source code.
  • Field Details

    • WRITER_PACKAGE

      public static final String WRITER_PACKAGE
      See Also:
    • generateXmlWriter

      @Parameter(defaultValue="${camel-generate-xml-writer}") protected boolean generateXmlWriter
  • Constructor Details

    • XmlModelWriterGeneratorMojo

      @Inject public XmlModelWriterGeneratorMojo(org.apache.maven.project.MavenProjectHelper projectHelper, org.codehaus.plexus.build.BuildContext buildContext)
  • Method Details

    • execute

      public void execute(org.apache.maven.project.MavenProject project) throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
      Overrides:
      execute in class AbstractGeneratorMojo
      Throws:
      org.apache.maven.plugin.MojoFailureException
      org.apache.maven.plugin.MojoExecutionException
    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException