org.codehaus.mojo.buildhelper
Class AddTestResourceMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.buildhelper.AbstractAddResourceMojo
org.codehaus.mojo.buildhelper.AddTestResourceMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="add-test-resource",
defaultPhase=GENERATE_TEST_RESOURCES,
threadSafe=true)
public class AddTestResourceMojo- extends AbstractAddResourceMojo
Add more test resource directories to the POM.
- Since:
- 1.3
- Version:
- $Id: AddTestResourceMojo.java 17586 2012-09-22 20:27:21Z hboutemy $
- Author:
- Paul Gier
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
|
Method Summary |
void |
addResource(org.apache.maven.model.Resource resource)
Add the resource to the project. |
| 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 |
AddTestResourceMojo
public AddTestResourceMojo()
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
- Parameters:
resource - the resource to add
Copyright © 2005-2013 Codehaus. All Rights Reserved.