org.apache.maven.plugin.coreit
Class TestResourcesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.coreit.TestResourcesMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public class TestResourcesMojo
- extends AbstractMojo
Creates a text file in the project base directory.
- Version:
- $Id: TestResourcesMojo.java 697428 2008-09-20 22:40:52Z bentmann $
- Author:
- Benjamin Bentmann
- Is defined by the goal name:
- testResources
- Is bound to the specified phase of the standard build lifecycle:
- process-test-resources
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 |
TestResourcesMojo
public TestResourcesMojo()
execute
public void execute()
throws MojoExecutionException,
MojoFailureException
- Runs this mojo.
- Throws:
MojoExecutionException
- If the output file could not be created.
MojoFailureException
- If the output file has not been set.
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.