org.codehaus.mojo.clirr
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
- Is bound to the specified phase of the standard build lifecycle:
- verify
- Is defined to be executed in:
- phase:
- compile
- Is defined by the goal name:
- check-arbitrary
Fields inherited from class org.codehaus.mojo.clirr.AbstractClirrMojo |
classesDirectory, comparisonArtifacts, comparisonVersion, excludes, factory, includes, localRepository, logResults, minSeverity, project, resolver, skip, textOutputFile, xmlOutputFile |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
oldComparisonArtifacts
protected ArtifactSpecification[] oldComparisonArtifacts
- List of artifacts to serve as a baseline to compare against.
- Is defined by:
- Is required.
newComparisonArtifacts
protected ArtifactSpecification[] newComparisonArtifacts
- List of artifacts to compare to baseline.
- Is defined by:
- Is required.
ClirrArbitraryCheckMojo
public ClirrArbitraryCheckMojo()
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
Copyright © 2006-2014 Codehaus. All Rights Reserved.