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 SummaryFieldsModifier and TypeFieldDescriptionprotected org.apache.maven.project.MavenProjectThe current project.protected StringThe property.protected booleanThe quiet.protected org.apache.maven.execution.MavenSessionThe session.protected booleanThe system property.Fields inherited from interface org.apache.maven.plugin.MojoROLE
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.maven.plugin.AbstractMojogetLog, getPluginContext, setLog, setPluginContext
- 
Field Details- 
propertyThe 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- 
AbstractDirectoryGoalpublic AbstractDirectoryGoal()
 
- 
- 
Method Details- 
executepublic 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
 
- 
getLogLabelGets the log label.- Returns:
- the log label
 
- 
findDirectoryFind directory.- Returns:
- the file
- Throws:
- org.apache.maven.plugin.MojoExecutionException- the mojo execution exception
 
- 
getContextKeyGets the context key.- Returns:
- the context key
 
 
-