org.apache.maven.plugin.coreit
Class CatchMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
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
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CatchMojo
public CatchMojo()
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.