org.codehaus.mojo.animal_sniffer.maven
Class CheckSignatureMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.animal_sniffer.maven.CheckSignatureMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class CheckSignatureMojo
extends org.apache.maven.plugin.AbstractMojo

Checks the classes compiled by this module.

Author:
Kohsuke Kawaguchi
Is defined by the goal name:
check
Is bound to the specified phase of the standard build lifecycle:
process-classes
Requires the dependencies in this specified scope:
compile

Field Summary
protected  org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
           
protected  java.util.List classpathElements
          Project classpath.
protected  boolean ignoreDependencies
          Should dependencies be ignored.
protected  java.lang.String[] ignores
          Class names to ignore signatures for (wildcards accepted).
protected  org.apache.maven.artifact.repository.ArtifactRepository localRepository
           
protected  java.io.File outputDirectory
          The directory for compiled classes.
protected  org.apache.maven.project.MavenProject project
           
protected  org.apache.maven.artifact.resolver.ArtifactResolver resolver
           
protected  Signature signature
          Signature module to use.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CheckSignatureMojo()
           
 
Method Summary
 void execute()
           
 
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
 

Field Detail

classpathElements

protected java.util.List classpathElements
Project classpath.

Is defined by:
expression:
${project.compileClasspathElements}
Is readonly.
Is required.

outputDirectory

protected java.io.File outputDirectory
The directory for compiled classes.

Is defined by:
expression:
${project.build.outputDirectory}
Is readonly.
Is required.

signature

protected Signature signature
Signature module to use.

Is defined by:
Is required.

ignores

protected java.lang.String[] ignores
Class names to ignore signatures for (wildcards accepted).

Is defined by:

ignoreDependencies

protected boolean ignoreDependencies
Should dependencies be ignored.

Is defined by:
default-value:
true

resolver

protected org.apache.maven.artifact.resolver.ArtifactResolver resolver
Is a Plexus component defined by:
Is readonly.

project

protected org.apache.maven.project.MavenProject project
Is defined by:
expression:
${project}
Is readonly.

localRepository

protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
Is defined by:
expression:
${localRepository}
Is readonly.

artifactFactory

protected org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
Is a Plexus component defined by:
Is readonly.
Constructor Detail

CheckSignatureMojo

public CheckSignatureMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2008-2010 Codehaus. All Rights Reserved.