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.
  • 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

      protected boolean validateOutputDirectory(File dir)
      Check dir 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

      protected String headerParametersString()
      Description copied from class: AbstractLifecycleMojo
      Mojo parameters header
      Overrides:
      headerParametersString in class AbstractLifecycleMojo
      Returns:
      String parameters