Class AbstractDirectoryGoal
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.commonjava.maven.plugins.execroot.AbstractDirectoryGoal
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
DirectoryOfGoal
,ExecutionRootGoal
,HighestBasedirGoal
public abstract class AbstractDirectoryGoal
extends org.apache.maven.plugin.AbstractMojo
The Class AbstractDirectoryGoal.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.maven.project.MavenProject
The current project.protected String
The property.protected boolean
The quiet.protected org.apache.maven.execution.MavenSession
The session.protected boolean
The system property.Fields 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
-
property
The property. -
currentProject
@Parameter(defaultValue="${project}", readonly=true) protected org.apache.maven.project.MavenProject currentProjectThe current project. -
session
@Parameter(defaultValue="${session}", readonly=true) protected org.apache.maven.execution.MavenSession sessionThe session. -
quiet
@Parameter(defaultValue="false") protected boolean quietThe quiet. -
systemProperty
@Parameter(defaultValue="false") protected boolean systemPropertyThe system property.
-
-
Constructor Details
-
AbstractDirectoryGoal
public AbstractDirectoryGoal()
-
-
Method Details
-
execute
public final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
getLogLabel
Gets the log label.- Returns:
- the log label
-
findDirectory
Find directory.- Returns:
- the file
- Throws:
org.apache.maven.plugin.MojoExecutionException
- the mojo execution exception
-
getContextKey
Gets the context key.- Returns:
- the context key
-