Class YamlModelWriterGeneratorMojo

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

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

    • WRITER_PACKAGE

      public static final String WRITER_PACKAGE
      See Also:
    • generateYamlWriter

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

    • YamlModelWriterGeneratorMojo

      @Inject public YamlModelWriterGeneratorMojo(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