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

      • catalogDir

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

      • PrepareCatalogSpringBootMojo

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