Package org.codehaus.mojo.buildplan
Class AbstractLifecycleMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.buildplan.AbstractLifecycleMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
ListMojo,ListPhaseMojo,ListPluginMojo
public abstract class AbstractLifecycleMojo extends org.apache.maven.plugin.AbstractMojo
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.maven.lifecycle.DefaultLifecyclesdefaultLifecycles
-
Constructor Summary
Constructors Constructor Description AbstractLifecycleMojo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected org.apache.maven.lifecycle.MavenExecutionPlancalculateExecutionPlan()voidexecute()protected abstract voidexecuteInternal()protected voidhandleOutput(String output)
-
-
-
Method Detail
-
calculateExecutionPlan
protected org.apache.maven.lifecycle.MavenExecutionPlan calculateExecutionPlan() throws org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoFailureException
-
handleOutput
protected void handleOutput(String output)
-
execute
public final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
executeInternal
protected abstract void executeInternal() throws org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoFailureException
-
-