Class AbstractGenerateConfigurerMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.camel.maven.packaging.AbstractGeneratorMojo
org.apache.camel.maven.packaging.AbstractGenerateConfigurerMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
GenerateConfigurerMojo, GenerateTestConfigurerMojo

public abstract class AbstractGenerateConfigurerMojo extends AbstractGeneratorMojo
Abstract class for configurer generator.
  • Field Details

    • CONFIGURER

      public static final org.jboss.jandex.DotName CONFIGURER
    • discoverClasses

      @Parameter(defaultValue="true") protected boolean discoverClasses
      Whether to discover configurer classes from classpath by scanning for @Configurer annotations. This requires using jandex-maven-plugin.
    • allowBuilderPattern

      @Parameter(defaultValue="false") protected boolean allowBuilderPattern
      Whether to also allow using fluent builder style as configurer (getXXX and withXXX style).
    • skipDeprecated

      @Parameter(defaultValue="false") protected boolean skipDeprecated
      Whether to skip deprecated methods.
  • Constructor Details

    • AbstractGenerateConfigurerMojo

      protected AbstractGenerateConfigurerMojo(org.apache.maven.project.MavenProjectHelper projectHelper, org.codehaus.plexus.build.BuildContext buildContext)
  • Method Details

    • doExecute

      protected void doExecute(File sourcesOutputDir, File resourcesOutputDir, List<String> classes, boolean testClasspathOnly) throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException