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 AbstractSpringBootGeneratorGenerate Spring Boot auto configuration files for Camel components and data formats.
-
-
Field Summary
Fields Modifier and Type Field Description protected FilebaseDirThe base directoryprotected FileclassesDirThe output directory for generated component schema file-
Fields inherited from class org.apache.camel.springboot.maven.AbstractSpringBootGenerator
project
-
-
Constructor Summary
Constructors Constructor Description SpringBootAutoConfigurationMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexecuteAll()protected org.apache.camel.springboot.maven.DynamicClassLoadergetProjectClassLoader()protected booleanisIgnore(String artifactId)-
Methods inherited from class org.apache.camel.springboot.maven.AbstractSpringBootGenerator
cache, execute, findComponentNames, findDataFormatNames, findLanguageNames, findNames, getJarFile, getJarFile, getJSonFiles, getMainDep, getMainDepArtifactId, getMainDepGroupId, getMainDepVersion, loadComponentJson, loadDataFormatJson, loadJson, loadJsonOfType, loadLanguageJson, loadModelJson, loadOtherJson, writeIfChanged
-
-
-
-
Method Detail
-
isIgnore
protected boolean isIgnore(String artifactId)
- Overrides:
isIgnorein classAbstractSpringBootGenerator
-
executeAll
protected void executeAll() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException, IOException- Specified by:
executeAllin classAbstractSpringBootGenerator- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionIOException
-
getProjectClassLoader
protected org.apache.camel.springboot.maven.DynamicClassLoader getProjectClassLoader()
-
-