org.codehaus.mojo.macker
Class MackerMojo

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

public class MackerMojo
extends AbstractMojo

Runs Macker against the compiled classes of the project.

Author:
Wayne Fay, Fabrice Bellingard, Peter Kofler
Is defined to be executed in:
phase:
compile
Is defined by the goal name:
macker
Requires the dependencies in this specified scope:
compile
Requires a Maven project to run:
true

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MackerMojo()
           
 
Method Summary
 void execute()
           
 MavenProject getProject()
          Returns the MavenProject object.
 
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

MackerMojo

public MackerMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException
Throws:
MojoExecutionException - if a error occurs during Macker execution
MojoFailureException - if Macker detects a failure.
See Also:
Mojo.execute()

getProject

public MavenProject getProject()
Returns the MavenProject object.

Returns:
MavenProject


Copyright © 2007-2010 CodeHaus. All Rights Reserved.