org.apache.rat.mp
Class RatCheckMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.rat.mp.AbstractRatMojo
          extended by org.apache.rat.mp.RatCheckMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class RatCheckMojo
extends AbstractRatMojo

Run RAT to perform a violation check.


Field Summary
 
Fields inherited from class org.apache.rat.mp.AbstractRatMojo
basedir, ECLIPSE_DEFAULT_EXCLUDES, IDEA_DEFAULT_EXCLUDES, MAVEN_DEFAULT_EXCLUDES
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
RatCheckMojo()
           
 
Method Summary
protected  void check(ClaimStatistic statistics)
           
 void execute()
          Invoked by Maven to execute the Mojo.
protected  ReportConfiguration getConfiguration()
           
 
Methods inherited from class org.apache.rat.mp.AbstractRatMojo
createReport, getLicenseMatchers, getProject, getResources
 
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
 

Constructor Detail

RatCheckMojo

public RatCheckMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Invoked by Maven to execute the Mojo.

Throws:
org.apache.maven.plugin.MojoFailureException - An error in the plugin configuration was detected.
org.apache.maven.plugin.MojoExecutionException - Another error occurred while executing the plugin.

check

protected void check(ClaimStatistic statistics)
              throws org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoFailureException

getConfiguration

protected ReportConfiguration getConfiguration()
                                        throws org.apache.maven.plugin.MojoFailureException,
                                               org.apache.maven.plugin.MojoExecutionException
Overrides:
getConfiguration in class AbstractRatMojo
Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.