Class ReactorStateSaveMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- de.syquel.maven.reactorstate.plugin.ReactorStateSaveMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="save", requiresDirectInvocation=true, threadSafe=true, inheritByDefault=false, aggregator=true) public class ReactorStateSaveMojo extends org.apache.maven.plugin.AbstractMojoSaves the state of the current Maven execution for usage in subsequent Maven executions.
-
-
Constructor Summary
Constructors Constructor Description ReactorStateSaveMojo(org.apache.maven.execution.MavenSession session)Constructs a new instance based on the current Maven execution context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()Saves the state of the current Maven execution for usage in subsequent Maven executions.
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionSaves the state of the current Maven execution for usage in subsequent Maven executions.- Throws:
org.apache.maven.plugin.MojoExecutionException- if an error occurred while saving the state of the current Maven execution.org.apache.maven.plugin.MojoFailureException- never.
-
-