public abstract class AbstractChangesReport extends AbstractMavenReport
Modifier and Type | Field and Description |
---|---|
protected String |
basedir
The current project base directory.
|
protected ArtifactFactory |
factory |
protected org.codehaus.plexus.i18n.I18N |
i18n
Internationalization.
|
protected ArtifactRepository |
localRepository
Local Repository.
|
protected MavenSession |
mavenSession
The Maven Session.
|
protected MavenProject |
project
The Maven Project.
|
protected ArtifactResolver |
resolver |
protected boolean |
runOnlyAtExecutionRoot
This will cause the execution to be run only at the top of a given module tree.
|
protected Renderer |
siteRenderer
Doxia Site Renderer.
|
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE
Constructor and Description |
---|
AbstractChangesReport() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected String |
getOutputDirectory() |
protected String |
getOutputEncoding()
Get the effective reporting output file encoding.
|
protected MavenProject |
getProject() |
protected Renderer |
getSiteRenderer() |
protected boolean |
isThisTheExecutionRoot()
Returns
true if the current project is located at the Execution Root Directory (where mvn was
launched). |
canGenerateReport, closeReport, executeReport, generate, generate, generate, getCategoryName, getInputEncoding, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectory
getLog, getPluginContext, setLog, setPluginContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getName, getOutputName
@Parameter(property="basedir", required=true) protected String basedir
@Parameter(property="changes.runOnlyAtExecutionRoot", defaultValue="false") protected boolean runOnlyAtExecutionRoot
@Parameter(defaultValue="${session}", readonly=true, required=true) protected MavenSession mavenSession
@Component protected Renderer siteRenderer
@Parameter(defaultValue="${project}", readonly=true, required=true) protected MavenProject project
@Parameter(property="localRepository", required=true, readonly=true) protected ArtifactRepository localRepository
@Component protected ArtifactResolver resolver
@Component protected ArtifactFactory factory
@Component protected org.codehaus.plexus.i18n.I18N i18n
public void execute() throws MojoExecutionException
execute
in interface Mojo
execute
in class AbstractMavenReport
MojoExecutionException
protected String getOutputDirectory()
getOutputDirectory
in class AbstractMavenReport
AbstractMavenReport.getOutputDirectory()
protected String getOutputEncoding()
getOutputEncoding
in class AbstractMavenReport
null
.protected MavenProject getProject()
getProject
in class AbstractMavenReport
AbstractMavenReport.getProject()
protected Renderer getSiteRenderer()
getSiteRenderer
in class AbstractMavenReport
AbstractMavenReport.getSiteRenderer()
protected boolean isThisTheExecutionRoot()
true
if the current project is located at the Execution Root Directory (where mvn was
launched).true
if the current project is at the Execution RootCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.