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 StringThe 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, systemPropertyFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.commonjava.maven.plugins.execroot.AbstractDirectoryGoal
executeMethods 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:AbstractDirectoryGoalFind directory.- Specified by:
findDirectoryin classAbstractDirectoryGoal- Returns:
- the file
- Throws:
org.apache.maven.plugin.MojoExecutionException- the mojo execution exception
-
getContextKey
Description copied from class:AbstractDirectoryGoalGets the context key.- Specified by:
getContextKeyin classAbstractDirectoryGoal- Returns:
- the context key
-
getLogLabel
Description copied from class:AbstractDirectoryGoalGets the log label.- Specified by:
getLogLabelin classAbstractDirectoryGoal- Returns:
- the log label
-