Class CompareMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.artifact.buildinfo.AbstractBuildinfoMojo
org.apache.maven.plugins.artifact.buildinfo.CompareMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="compare", threadSafe=false) 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 Details

    • CompareMojo

      @Inject public CompareMojo(org.apache.maven.toolchain.ToolchainManager toolchainManager, org.apache.maven.rtinfo.RuntimeInformation rtInformation, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session, org.eclipse.aether.RepositorySystem repoSystem)
  • Method Details

    • execute

      public void execute(Map<org.eclipse.aether.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