Class 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 Detail

      • 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 Detail

      • BomGeneratorMojo

        public BomGeneratorMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException