Class 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 Detail

      • 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 Detail

      • SpringBootAutoConfigurationMojo

        public SpringBootAutoConfigurationMojo()
    • Method Detail

      • 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()