Class GeneratePojoBeanMojo

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

@Mojo(name="generate-pojo-bean", threadSafe=true, defaultPhase=PROCESS_CLASSES, requiresDependencyCollection=COMPILE, requiresDependencyResolution=COMPILE) public class GeneratePojoBeanMojo extends AbstractGeneratorMojo
Factory for generating code for Camel pojo beans that are intended for end user to use with Camel EIPs and components.
  • Field Details

    • METADATA

      public static final org.jboss.jandex.DotName METADATA
    • buildDir

      @Parameter(defaultValue="${project.build.directory}") protected File buildDir
      The project build directory
    • resourcesOutputDir

      @Parameter(defaultValue="${project.basedir}/src/generated/resources") protected File resourcesOutputDir
  • Constructor Details

    • GeneratePojoBeanMojo

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

    • execute

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