org.apache.maven.plugin.coreit
Class ResourcesMojo

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

public class ResourcesMojo
extends AbstractMojo

Creates a text file in the project base directory.

Version:
$Id: ResourcesMojo.java 809571 2009-08-31 13:03:37Z bentmann $
Author:
Benjamin Bentmann
Is defined by the goal name:
resources
Is bound to the specified phase of the standard build lifecycle:
process-resources

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ResourcesMojo()
           
 
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

ResourcesMojo

public ResourcesMojo()
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.