Class StarterGeneratorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.camel.springboot.maven.StarterGeneratorMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generate-starter",
threadSafe=true,
defaultPhase=GENERATE_RESOURCES)
public class StarterGeneratorMojo
extends org.apache.maven.plugin.AbstractMojo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected org.apache.maven.artifact.factory.ArtifactFactoryUsed to look up Artifacts in the remote repository.protected Stringprotected org.apache.maven.project.MavenProjectThe maven project.protected FileThe source pom template file.protected FileFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
artifactFactory
@Component protected org.apache.maven.artifact.factory.ArtifactFactory artifactFactoryUsed to look up Artifacts in the remote repository. -
project
@Parameter(defaultValue="${project}", readonly=true) protected org.apache.maven.project.MavenProject projectThe maven project. -
sourcePom
The source pom template file. -
startersDir
-
action
-
componentName
-
-
Constructor Details
-
StarterGeneratorMojo
public StarterGeneratorMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
doExecute
- Throws:
Exception
-