org.apache.maven.plugin.changes
Class AbstractChangesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.changes.AbstractChangesMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
- Direct Known Subclasses:
- AbstractAnnouncementMojo, ChangesCheckMojo, ChangesValidatorMojo
public abstract class AbstractChangesMojo
- extends AbstractMojo
Abstract superclass for announcement mojos.
- Since:
- 2.9
- Version:
- $Id: AbstractChangesMojo.java 1579078 2014-03-18 22:44:41Z dennisl $
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
protected boolean |
isThisTheExecutionRoot()
Returns true if the current project is located at the
Execution Root Directory (where mvn was launched). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.maven.plugin.Mojo |
execute |
basedir
@Parameter(property="basedir",
required=true)
protected String basedir
- The current project base directory.
- Since:
- 2.1
mavenSession
@Component
protected MavenSession mavenSession
- The Maven Session.
- Since:
- 2.3
runOnlyAtExecutionRoot
@Parameter(property="changes.runOnlyAtExecutionRoot",
defaultValue="false")
protected boolean runOnlyAtExecutionRoot
- This will cause the execution to be run only at the top of a given module
tree. That is, run in the project contained in the same folder where the
mvn execution was launched.
- Since:
- 2.9
AbstractChangesMojo
public AbstractChangesMojo()
isThisTheExecutionRoot
protected boolean isThisTheExecutionRoot()
- Returns
true
if the current project is located at the
Execution Root Directory (where mvn was launched).
- Returns:
true
if the current project is at the Execution Root
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.