Class BomGeneratorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.camel.springboot.maven.BomGeneratorMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generate-bom",
defaultPhase=VALIDATE,
threadSafe=true)
public class BomGeneratorMojo
extends org.apache.maven.plugin.AbstractMojo
Generate BOM with only the camel spring boot starter dependencies.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.maven.project.MavenProjectThe maven project.protected FileThe source pom template file.protected Fileprotected FileThe pom file.Fields 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
-
project
@Parameter(defaultValue="${project}", readonly=true) protected org.apache.maven.project.MavenProject projectThe maven project. -
sourcePom
The source pom template file. -
targetPom
@Parameter(defaultValue="${project.build.directory}/${project.name}-pom.xml") protected File targetPomThe pom file. -
startersDir
-
-
Constructor Details
-
BomGeneratorMojo
public BomGeneratorMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-