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 bound to the specified phase of the standard build lifecycle:
process-classes
Requires the dependencies in this specified scope:
compile
Is defined by the goal name:
check

Field Summary
protected  org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
           
protected  List classpathElements
          Project classpath.
protected  boolean ignoreDependencies
          Should dependencies be ignored.
protected  String[] ignores
          Class names to ignore signatures for (wildcards accepted).
protected  org.apache.maven.artifact.repository.ArtifactRepository localRepository
           
protected  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 List classpathElements
Project classpath.

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

outputDirectory

protected File outputDirectory
The directory for compiled classes.

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

signature

protected Signature signature
Signature module to use.

Is defined by:
Is required.

ignores

protected 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 readonly.
Is a Plexus component defined by:

project

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

localRepository

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

artifactFactory

protected org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
Is readonly.
Is a Plexus component defined by:
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-2011 Codehaus. All Rights Reserved.