@Mojo(name="prepare-catalog-springboot",
threadSafe=true,
requiresDependencyCollection=COMPILE_PLUS_RUNTIME,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
defaultPhase=GENERATE_RESOURCES)
public class PrepareCatalogSpringBootMojo
extends AbstractSpringBootGenerator
| Modifier and Type | Field and Description |
|---|---|
protected File |
catalogDir
The catalog directory
|
project| Constructor and Description |
|---|
PrepareCatalogSpringBootMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeAll() |
protected void |
executeComponents(JarFile componentJar,
Map<String,Supplier<String>> jsonFiles) |
protected void |
executeDataFormats(JarFile componentJar,
Map<String,Supplier<String>> jsonFiles) |
protected void |
executeLanguages(JarFile componentJar,
Map<String,Supplier<String>> jsonFiles) |
protected void |
executeOthers(JarFile componentJar,
Map<String,Supplier<String>> jsonFiles) |
protected boolean |
isIgnore(String artifactId) |
cache, execute, findComponentNames, findDataFormatNames, findLanguageNames, findNames, getJarFile, getJarFile, getJSonFiles, getMainDep, getMainDepArtifactId, getMainDepGroupId, getMainDepVersion, loadComponentJson, loadDataFormatJson, loadJson, loadJsonOfType, loadLanguageJson, loadModelJson, loadOtherJson, writeIfChanged@Parameter(defaultValue="${basedir}/../../catalog/camel-catalog-provider-springboot")
protected File catalogDir
protected void executeAll()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException,
IOException
executeAll in class AbstractSpringBootGeneratororg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionIOExceptionprotected boolean isIgnore(String artifactId)
isIgnore in class AbstractSpringBootGeneratorprotected void executeComponents(JarFile componentJar, Map<String,Supplier<String>> jsonFiles) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException, IOException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionIOExceptionprotected void executeDataFormats(JarFile componentJar, Map<String,Supplier<String>> jsonFiles) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException, IOException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionIOExceptionprotected void executeLanguages(JarFile componentJar, Map<String,Supplier<String>> jsonFiles) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException, IOException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionIOExceptionprotected void executeOthers(JarFile componentJar, Map<String,Supplier<String>> jsonFiles) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException, IOException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionIOExceptionApache Camel