Package org.codehaus.mojo.buildhelper
Class RootLocationMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
org.codehaus.mojo.buildhelper.RootLocationMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="rootlocation",
defaultPhase=VALIDATE,
threadSafe=true,
requiresProject=true)
public class RootLocationMojo
extends AbstractDefinePropertyMojo
This goal will get the location of the root folder within a multi module build as a property
rootlocation
.- Since:
- 3.0.0
- Author:
- Karl Heinz Marbaise
-
Field Summary
Fields inherited from class org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
project
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
defineProperty, getProject
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
RootLocationMojo
public RootLocationMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoFailureExceptionMain plugin execution- Throws:
org.apache.maven.plugin.MojoFailureException
-