org.codehaus.mojo.buildhelper
Class AddResourceMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.buildhelper.AbstractAddResourceMojo
          extended by org.codehaus.mojo.buildhelper.AddResourceMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class AddResourceMojo
extends AbstractAddResourceMojo

Add more resource directories to the POM.

Since:
1.3
Version:
$Id: AddResourceMojo.java 9919 2009-06-04 19:30:10Z pgier $
Author:
Paul Gier
Is bound to the specified phase of the standard build lifecycle:
generate-resources
Is defined by the goal name:
add-resource

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AddResourceMojo()
           
 
Method Summary
 void addResource(org.apache.maven.model.Resource resource)
          Add the resource to the project.
 
Methods inherited from class org.codehaus.mojo.buildhelper.AbstractAddResourceMojo
execute, getProject
 
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

AddResourceMojo

public AddResourceMojo()
Method Detail

addResource

public void addResource(org.apache.maven.model.Resource resource)
Description copied from class: AbstractAddResourceMojo
Add the resource to the project.

Specified by:
addResource in class AbstractAddResourceMojo


Copyright © 2005-2011 Codehaus. All Rights Reserved.