Class ClirrArbitraryCheckMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.clirr.AbstractClirrMojo
org.codehaus.mojo.clirr.ClirrArbitraryCheckMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ClirrArbitraryCheckMojo extends AbstractClirrMojo
Check for compatibility between two arbitrary artifact sets.
Author:
Brett Porter, Jesse McConnell
  • Field Details

    • oldComparisonArtifacts

      protected ArtifactSpecification[] oldComparisonArtifacts
      List of artifacts to serve as a baseline to compare against.
    • newComparisonArtifacts

      protected ArtifactSpecification[] newComparisonArtifacts
      List of artifacts to compare to baseline.
  • Constructor Details

    • ClirrArbitraryCheckMojo

      public ClirrArbitraryCheckMojo()
  • Method Details

    • doExecute

      protected void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Specified by:
      doExecute in class AbstractClirrMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
    • resolveClasses

      protected net.sf.clirr.core.spi.JavaType[] resolveClasses(ArtifactSpecification[] artifacts, net.sf.clirr.core.ClassFilter classFilter) throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoFailureException
      org.apache.maven.plugin.MojoExecutionException
    • executeClirr

      protected ClirrDiffListener executeClirr(net.sf.clirr.core.Severity minSeverity) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Overrides:
      executeClirr in class AbstractClirrMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException