Class CheckBomMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="check-bom")
    public class CheckBomMojo
    extends org.apache.maven.plugin.AbstractMojo
    Checks if a POM file is a minimal BOM file. Minimal BOM files contain the following elements:
    • <groupId>
    • <artifactId>
    • <version>
    • <dependencyManagement>
    Since:
    1.0.0
    Author:
    Andres Almiray
    • Method Detail

      • execute

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