Class DirectoryOfGoal
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.commonjava.maven.plugins.execroot.AbstractDirectoryGoal
org.commonjava.maven.plugins.execroot.DirectoryOfGoal
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="directory-of",
defaultPhase=INITIALIZE,
requiresProject=true,
threadSafe=true)
public class DirectoryOfGoal
extends AbstractDirectoryGoal
The Class DirectoryOfGoal.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
The Constant DIR_OF_CONTEXT_KEY.protected List
<org.apache.maven.project.MavenProject> The projects.Fields inherited from class org.commonjava.maven.plugins.execroot.AbstractDirectoryGoal
currentProject, property, quiet, session, systemProperty
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.commonjava.maven.plugins.execroot.AbstractDirectoryGoal
execute
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
DIR_OF_CONTEXT_KEY
The Constant DIR_OF_CONTEXT_KEY.- See Also:
-
projects
@Parameter(defaultValue="${reactorProjects}", readonly=true) protected List<org.apache.maven.project.MavenProject> projectsThe projects.
-
-
Constructor Details
-
DirectoryOfGoal
public DirectoryOfGoal()
-
-
Method Details
-
findDirectory
Description copied from class:AbstractDirectoryGoal
Find directory.- Specified by:
findDirectory
in classAbstractDirectoryGoal
- Returns:
- the file
- Throws:
org.apache.maven.plugin.MojoExecutionException
- the mojo execution exception
-
getContextKey
Description copied from class:AbstractDirectoryGoal
Gets the context key.- Specified by:
getContextKey
in classAbstractDirectoryGoal
- Returns:
- the context key
-
getLogLabel
Description copied from class:AbstractDirectoryGoal
Gets the log label.- Specified by:
getLogLabel
in classAbstractDirectoryGoal
- Returns:
- the log label
-