org.codehaus.mojo.buildhelper

Class AbstractAddResourceMojo

public abstract class AbstractAddResourceMojo extends AbstractMojo

Method Summary
abstract voidaddResource(Resource resource)
Add the resource to the project.
voidexecute()
Main plugin execution
MavenProjectgetProject()
Get the current project instance.

Method Detail

addResource

public abstract void addResource(Resource resource)
Add the resource to the project.

Parameters: resource

execute

public void execute()
Main plugin execution

getProject

public MavenProject getProject()
Get the current project instance.

Returns: the project

Copyright © 2005-2009 Codehaus. All Rights Reserved.