org.apache.maven.plugin.coreit
Class CatchMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.coreit.CatchMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class CatchMojo
extends AbstractMojo

"Catch" a parameter "thrown" by the ThrowMojo through the plugin context, and write a file based on it's value to the build output directory.

Is defined by the goal name:
catch

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CatchMojo()
           
 
Method Summary
 void execute()
           
 File getOutDir()
           
 void setOutDir(File outDir)
           
 
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

CatchMojo

public CatchMojo()
Method Detail

getOutDir

public File getOutDir()

setOutDir

public void setOutDir(File outDir)

execute

public void execute()
             throws MojoExecutionException
Throws:
MojoExecutionException


Copyright © 2006-2012 The Apache Software Foundation. All Rights Reserved.