Class ReactorStateInstallLocalMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- de.syquel.maven.reactorstate.plugin.ReactorStateInstallLocalMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="install-local", requiresDirectInvocation=true, threadSafe=true, inheritByDefault=false) public class ReactorStateInstallLocalMojo extends org.apache.maven.plugin.AbstractMojoInstalls the reactorstate-maven-extension to the root of the current Maven project by inserting it into.mvn/extensions.xml.
-
-
Constructor Summary
Constructors Constructor Description ReactorStateInstallLocalMojo(org.apache.maven.execution.MavenSession mavenSession)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()Installs the reactorstate-maven-extension to the root of the current Maven project by inserting it into.mvn/extensions.xml.
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionInstalls the reactorstate-maven-extension to the root of the current Maven project by inserting it into.mvn/extensions.xml. The file is automatically created if it does not exist; otherwise already registered extensions are preserved.- Throws:
org.apache.maven.plugin.MojoExecutionException- never.org.apache.maven.plugin.MojoFailureException- if an error occurred while registering the extension.
-
-