|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.clirr.AbstractClirrMojo
public abstract class AbstractClirrMojo
Base parameters for Clirr check and report.
Field Summary | |
---|---|
protected java.io.File |
classesDirectory
The classes of this project to compare the last release against. |
protected ArtifactSpecification[] |
comparisonArtifacts
List of artifacts to compare the current code against. |
protected java.lang.String |
comparisonVersion
Version to compare the current code against. |
protected java.lang.String[] |
excludes
A list of classes to exclude. |
protected org.apache.maven.artifact.factory.ArtifactFactory |
factory
|
protected java.lang.String[] |
includes
A list of classes to include. |
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository
|
protected boolean |
logResults
Whether to log the results to the console or not. |
protected org.apache.maven.project.MavenProject |
project
|
protected org.apache.maven.artifact.resolver.ArtifactResolver |
resolver
|
protected java.io.File |
textOutputFile
A text output file to render to. |
protected java.io.File |
xmlOutputFile
An XML file to render to. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractClirrMojo()
|
Method Summary | |
---|---|
protected boolean |
canGenerate()
|
static net.sf.clirr.core.spi.JavaType[] |
createClassSet(java.io.File classes,
java.lang.ClassLoader thirdPartyClasses,
net.sf.clirr.core.ClassFilter classFilter)
|
ClirrDiffListener |
executeClirr()
|
protected ClirrDiffListener |
executeClirr(net.sf.clirr.core.Severity minSeverity)
|
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 |
Methods inherited from interface org.apache.maven.plugin.Mojo |
---|
execute |
Field Detail |
---|
protected org.apache.maven.project.MavenProject project
protected org.apache.maven.artifact.resolver.ArtifactResolver resolver
protected org.apache.maven.artifact.factory.ArtifactFactory factory
protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
protected java.io.File classesDirectory
protected java.lang.String comparisonVersion
protected ArtifactSpecification[] comparisonArtifacts
comparisonVersion
, if present.
Each comparisonArtifact is made of a groupId, an artifactId,
a version number. Optionally it may have a classifier
(default null) and a type (default "jar").
protected java.io.File textOutputFile
protected java.io.File xmlOutputFile
protected java.lang.String[] includes
org/codehaus/mojo/**
.
protected java.lang.String[] excludes
org/codehaus/mojo/**
.
protected boolean logResults
Constructor Detail |
---|
public AbstractClirrMojo()
Method Detail |
---|
public ClirrDiffListener executeClirr() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected ClirrDiffListener executeClirr(net.sf.clirr.core.Severity minSeverity) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public static net.sf.clirr.core.spi.JavaType[] createClassSet(java.io.File classes, java.lang.ClassLoader thirdPartyClasses, net.sf.clirr.core.ClassFilter classFilter) throws java.net.MalformedURLException
java.net.MalformedURLException
protected boolean canGenerate() throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |