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
Check for compatibility between two arbitrary artifact sets.
- Author:
- Brett Porter, Jesse McConnell
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ArtifactSpecification[]List of artifacts to compare to baseline.protected ArtifactSpecification[]List of artifacts to serve as a baseline to compare against.Fields inherited from class AbstractClirrMojo
classesDirectory, comparisonArtifacts, comparisonVersion, excludes, factory, ignored, ignoredDifferencesFile, includes, localRepository, logResults, minSeverity, project, resolver, skip, textOutputFile, xmlOutputFileFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected ClirrDiffListenerexecuteClirr(net.sf.clirr.core.Severity minSeverity) protected net.sf.clirr.core.spi.JavaType[]resolveClasses(ArtifactSpecification[] artifacts, net.sf.clirr.core.ClassFilter classFilter) Methods inherited from class AbstractClirrMojo
canGenerate, convertSeverity, createClassLoader, createClassSet, execute, executeClirr, getAllIgnored, getTransitiveDependencies, resolveArtifactsMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
oldComparisonArtifacts
List of artifacts to serve as a baseline to compare against. -
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:
doExecutein classAbstractClirrMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.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.MojoFailureExceptionorg.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:
executeClirrin classAbstractClirrMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-