org.codehaus.swizzle.depreport
Class UsageMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.swizzle.depreport.UsageMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

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

Do not specify a phase, so make it usable in a reactor environment where forking would create issues.


Nested Class Summary
static class UsageMojo.RootDep
           
 
Field Summary
protected  java.io.File classesDirectory
          The output directory of the assembled distribution file.
protected  java.lang.String name
          The filename of the assembled distribution file.
protected  java.io.File outputDirectory
          The output directory of the assembled distribution file.
protected  org.apache.maven.project.MavenProject project
          The Maven Project.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
UsageMojo()
           
 
Method Summary
 void execute()
          Create the binary distribution.
protected  org.apache.maven.project.MavenProject getExecutedProject()
           
 java.util.List getFormats()
           
 
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

outputDirectory

protected java.io.File outputDirectory
The output directory of the assembled distribution file.


classesDirectory

protected java.io.File classesDirectory
The output directory of the assembled distribution file.


name

protected java.lang.String name
The filename of the assembled distribution file.


project

protected org.apache.maven.project.MavenProject project
The Maven Project.

Constructor Detail

UsageMojo

public UsageMojo()
Method Detail

getExecutedProject

protected org.apache.maven.project.MavenProject getExecutedProject()

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Create the binary distribution.

Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

getFormats

public java.util.List getFormats()


Copyright © 2011. All Rights Reserved.