Class SpringBootAutoConfigurationMojo

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

@Mojo(name="prepare-spring-boot-auto-configuration", threadSafe=true, requiresDependencyCollection=COMPILE_PLUS_RUNTIME, requiresDependencyResolution=COMPILE_PLUS_RUNTIME, defaultPhase=GENERATE_RESOURCES) public class SpringBootAutoConfigurationMojo extends AbstractSpringBootGenerator
Generate Spring Boot auto configuration files for Camel components and data formats.
  • Field Details

    • classesDir

      @Parameter(defaultValue="${project.build.directory}/classes") protected File classesDir
      The output directory for generated component schema file
    • baseDir

      @Parameter(defaultValue="${basedir}") protected File baseDir
      The base directory
  • Constructor Details

    • SpringBootAutoConfigurationMojo

      public SpringBootAutoConfigurationMojo()
  • Method Details

    • isIgnore

      protected boolean isIgnore(String artifactId)
      Overrides:
      isIgnore in class AbstractSpringBootGenerator
    • executeAll

      protected void executeAll() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException, IOException
      Specified by:
      executeAll in class AbstractSpringBootGenerator
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
      IOException
    • getProjectClassLoader

      protected org.apache.camel.springboot.maven.DynamicClassLoader getProjectClassLoader()