Class PrepareCatalogSpringBootMojo

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

@Mojo(name="prepare-catalog-springboot", threadSafe=true, requiresDependencyCollection=COMPILE_PLUS_RUNTIME, requiresDependencyResolution=COMPILE_PLUS_RUNTIME, defaultPhase=GENERATE_RESOURCES) public class PrepareCatalogSpringBootMojo extends AbstractSpringBootGenerator
Prepares the Spring Boot provider camel catalog to include component it supports
  • Field Details

    • catalogDir

      @Parameter(defaultValue="${basedir}/../../catalog/camel-catalog-provider-springboot") protected File catalogDir
      The catalog directory
  • Constructor Details

    • PrepareCatalogSpringBootMojo

      public PrepareCatalogSpringBootMojo()
  • Method Details

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

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

      protected void executeComponents(JarFile componentJar, Map<String,Supplier<String>> jsonFiles) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException, IOException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
      IOException
    • executeDataFormats

      protected void executeDataFormats(JarFile componentJar, Map<String,Supplier<String>> jsonFiles) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException, IOException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
      IOException
    • executeLanguages

      protected void executeLanguages(JarFile componentJar, Map<String,Supplier<String>> jsonFiles) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException, IOException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
      IOException
    • executeOthers

      protected void executeOthers(JarFile componentJar, Map<String,Supplier<String>> jsonFiles) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException, IOException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
      IOException