org.apache.maven.plugin.coreit
Class ResetMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.coreit.AbstractLogMojo
org.apache.maven.plugin.coreit.ResetMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public class ResetMojo
- extends AbstractLogMojo
Clears the contents of the log file by creating a new empty log file.
- Version:
- $Id: ResetMojo.java 736028 2009-01-20 14:42:10Z bentmann $
- Author:
- Benjamin Bentmann
- Is defined by the goal name:
- reset
- Is bound to the specified phase of the standard build lifecycle:
- initialize
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
Runs this mojo. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResetMojo
public ResetMojo()
execute
public void execute()
throws MojoExecutionException
- Runs this mojo.
- Throws:
MojoExecutionException
- If the output file could not be created.
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.