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

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.maven.project.MavenProject
    The maven project.
    protected File
    The source pom template file.
    protected File
     
    protected File
    The pom file.

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • project

      @Parameter(defaultValue="${project}", readonly=true) protected org.apache.maven.project.MavenProject project
      The maven project.
    • sourcePom

      @Parameter(defaultValue="${basedir}/pom.xml") protected File sourcePom
      The source pom template file.
    • targetPom

      @Parameter(defaultValue="${project.build.directory}/${project.name}-pom.xml") protected File targetPom
      The pom file.
    • startersDir

      @Parameter(defaultValue="${basedir}/../../components-starter") protected 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