public abstract class AbstractAnnouncementMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected String |
basedir
The current project base directory.
|
protected org.apache.maven.execution.MavenSession |
mavenSession
The Maven Session.
|
protected boolean |
runOnlyAtExecutionRoot
This will cause the execution to be run only at the top of a given module
tree.
|
Constructor and Description |
---|
AbstractAnnouncementMojo() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isThisTheExecutionRoot()
Returns
true if the current project is located at the
Execution Root Directory (where mvn was launched). |
getLog, getPluginContext, setLog, setPluginContext
@Parameter(property="basedir", required=true) protected String basedir
@Component protected org.apache.maven.execution.MavenSession mavenSession
@Parameter(property="announcement.runOnlyAtExecutionRoot", defaultValue="false") protected boolean runOnlyAtExecutionRoot
Copyright © 2002-2017 The Apache Software Foundation. All Rights Reserved.