|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.plugin.changes.AbstractChangesReport
public abstract class AbstractChangesReport
Base class with the things that should be in AbstractMavenReport anyway. Note: This file was copied from r415312 of AbstractProjectInfoReport in maven-project-info-reports, as a work-around to MCHANGES-88.
| Field Summary | |
|---|---|
protected String |
basedir
The current project base directory. |
protected ArtifactFactory |
factory
|
protected 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. |
| Fields inherited from interface org.apache.maven.reporting.MavenReport |
|---|
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractChangesReport()
|
|
| Method Summary | |
|---|---|
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). |
| Methods inherited from class org.apache.maven.reporting.AbstractMavenReport |
|---|
canGenerateReport, closeReport, executeReport, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectory |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| 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.reporting.MavenReport |
|---|
getDescription, getName, getOutputName |
| Field Detail |
|---|
@Parameter(property="basedir",
required=true)
protected String basedir
@Parameter(property="changes.runOnlyAtExecutionRoot",
defaultValue="false")
protected boolean runOnlyAtExecutionRoot
@Component protected MavenSession mavenSession
@Component protected Renderer siteRenderer
@Component protected MavenProject project
@Parameter(property="localRepository",
required=true,
readonly=true)
protected ArtifactRepository localRepository
@Component protected ArtifactResolver resolver
@Component protected ArtifactFactory factory
@Component protected I18N i18n
| Constructor Detail |
|---|
public AbstractChangesReport()
| Method Detail |
|---|
public void execute()
throws MojoExecutionException
execute in interface Mojoexecute in class AbstractMavenReportMojoExecutionExceptionprotected String getOutputDirectory()
getOutputDirectory in class AbstractMavenReportAbstractMavenReport.getOutputDirectory()protected String getOutputEncoding()
null.protected MavenProject getProject()
getProject in class AbstractMavenReportAbstractMavenReport.getProject()protected Renderer getSiteRenderer()
getSiteRenderer in class AbstractMavenReportAbstractMavenReport.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 Root
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||