org.apache.maven.plugin.resources
Class ResourcesMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.resources.ResourcesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
TestResourcesMojo

public class ResourcesMojo
extends org.apache.maven.plugin.AbstractMojo

Copy resources for the main source code to the main output directory.

Version:
$Id: ResourcesMojo.java 543635 2007-06-01 22:03:43Z jvanzyl $
Author:
Michal Maczka, Jason van Zyl, Andreas Hoheneder

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ResourcesMojo()
           
 
Method Summary
protected  void copyResources(java.util.List resources, java.lang.String outputDirectory)
           
 void execute()
           
 
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 org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

copyResources

protected void copyResources(java.util.List resources,
                             java.lang.String outputDirectory)
                      throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.