Package org.l2x6.cq.maven
Class SetVersionsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.l2x6.cq.maven.SetVersionsMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="set-versions",
requiresProject=true,
inheritByDefault=false)
public class SetVersionsMojo
extends org.apache.maven.plugin.AbstractMojo
A faster and more advanced alternative to
versions:set.- Since:
- 2.5.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Pathprotected org.apache.maven.execution.MavenSessionFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
basePath
-
session
@Parameter(defaultValue="${session}", readonly=true, required=true) protected org.apache.maven.execution.MavenSession session
-
-
Constructor Details
-
SetVersionsMojo
public SetVersionsMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-