org.apache.maven.plugin.coreit
Class TestResourcesMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TestResourcesMojo()
           
 
Method Summary
 void execute()
          Runs this mojo.
 
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

TestResourcesMojo

public TestResourcesMojo()
Method Detail

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.