Class HighestBasedirGoal
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.commonjava.maven.plugins.execroot.AbstractDirectoryGoal
org.commonjava.maven.plugins.execroot.HighestBasedirGoal
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="highest-basedir",
defaultPhase=INITIALIZE,
requiresProject=true,
threadSafe=true)
public class HighestBasedirGoal
extends AbstractDirectoryGoal
The Class HighestBasedirGoal.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
The Class PathComparator. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
The Constant HIGHEST_DIR_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
-
HIGHEST_DIR_CONTEXT_KEY
The Constant HIGHEST_DIR_CONTEXT_KEY.- See Also:
-
projects
@Parameter(defaultValue="${reactorProjects}", readonly=true) protected List<org.apache.maven.project.MavenProject> projectsThe projects.
-
-
Constructor Details
-
HighestBasedirGoal
public HighestBasedirGoal()
-
-
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
-