Class CompareMojo

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

    @Mojo(name="compare",
          threadSafe=true)
    public class CompareMojo
    extends AbstractBuildinfoMojo
    Compare current build output (from package) against reference either previously install-ed or downloaded from a remote repository: comparison results go to .buildcompare file.
    Since:
    3.2.0
    • Constructor Detail

      • CompareMojo

        public CompareMojo()
    • Method Detail

      • execute

        public void execute​(Map<org.apache.maven.artifact.Artifact,​String> artifacts)
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • skip

        protected void skip​(org.apache.maven.project.MavenProject last)
                     throws org.apache.maven.plugin.MojoExecutionException
        Overrides:
        skip in class AbstractBuildinfoMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException