Class ExecutionPlanFileMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
it.serendigity.maven.plugin.lifecycle.helper.AbstractLifecycleMojo
it.serendigity.maven.plugin.lifecycle.helper.ExecutionPlanFileMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="execution-plan-file",
defaultPhase=VALIDATE,
threadSafe=true,
requiresProject=true)
public class ExecutionPlanFileMojo
extends AbstractLifecycleMojo
List execution plan for the current project to an output file.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class it.serendigity.maven.plugin.lifecycle.helper.AbstractLifecycleMojo
defaultLifecycles
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class it.serendigity.maven.plugin.lifecycle.helper.AbstractLifecycleMojo
calculateExecutionPlan, calculateTasksToElaborate, getParamFilterPlugins, getPluginsToElaborate, getTasksToElaborate, handleOutput, isParamForceTasksFromSession, isParamSkip, normalizeParamFilterPlugin, retrieveTasksFromSession, setPluginToElaborate, setTasksToElaborate, validateMavenExecution, validatePlugin
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
ExecutionPlanFileMojo
public ExecutionPlanFileMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
validateOutputDirectory
Checkdir
and if not exists create the directory- Parameters:
dir
- directory to check- Returns:
- true if and only if the directory was created, along with all necessary parent directories; false otherwise
-
headerParametersString
Description copied from class:AbstractLifecycleMojo
Mojo parameters header- Overrides:
headerParametersString
in classAbstractLifecycleMojo
- Returns:
- String parameters
-