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
| Fields inherited from class org.codehaus.mojo.clirr.AbstractClirrMojo |
classesDirectory, comparisonArtifacts, comparisonVersion, excludes, factory, includes, localRepository, logResults, 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.
newComparisonArtifacts
protected ArtifactSpecification[] newComparisonArtifacts
- List of artifacts to compare to baseline.
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-2010 Codehaus. All Rights Reserved.