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 AbstractSpringBootGenerator
Generate Spring Boot auto configuration files for Camel components and data
formats.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FileThe base directoryprotected FileThe output directory for generated component schema fileFields inherited from class org.apache.camel.springboot.maven.AbstractSpringBootGenerator
projectFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected org.apache.camel.springboot.maven.DynamicClassLoaderprotected booleanMethods 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, writeIfChangedMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
classesDir
The output directory for generated component schema file -
baseDir
The base directory
-
-
Constructor Details
-
SpringBootAutoConfigurationMojo
public SpringBootAutoConfigurationMojo()
-
-
Method Details
-
isIgnore
- 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()
-