|
||||||||||
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.report.projectinfo.AbstractProjectInfoReport
public abstract class AbstractProjectInfoReport
Base class with the things that should be in AbstractMavenReport anyway.
Field Summary | |
---|---|
protected String |
customBundle
Path for a custom bundle instead of using the default one. |
protected org.apache.maven.artifact.factory.ArtifactFactory |
factory
Artifact Factory component. |
protected ArtifactRepository |
localRepository
Local Repository. |
protected File |
outputDirectory
The output directory for the report. |
protected MavenProject |
project
The Maven Project. |
protected List<ArtifactRepository> |
remoteRepositories
Remote repositories used for the project. |
protected ArtifactResolver |
resolver
Artifact Resolver component. |
protected Settings |
settings
The current user system settings for use in Maven. |
protected Renderer |
siteRenderer
Doxia Site Renderer component. |
protected SiteTool |
siteTool
SiteTool component. |
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 | |
---|---|
AbstractProjectInfoReport()
|
Method Summary | |
---|---|
void |
execute()
|
String |
getCategoryName()
|
String |
getDescription(Locale locale)
|
protected I18N |
getI18N(Locale locale)
|
protected abstract String |
getI18Nsection()
|
protected String |
getI18nString(Locale locale,
String key)
|
String |
getName(Locale locale)
|
protected String |
getOutputDirectory()
|
protected MavenProject |
getProject()
|
File |
getReportOutputDirectory()
|
protected Renderer |
getSiteRenderer()
|
void |
setReportOutputDirectory(File reportOutputDirectory)
|
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport |
---|
canGenerateReport, closeReport, executeReport, generate, generate, generate, getSink, getSinkFactory, isExternalReport |
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 |
---|
getOutputName |
Field Detail |
---|
@Component protected SiteTool siteTool
@Component protected Renderer siteRenderer
@Component protected ArtifactResolver resolver
@Component protected org.apache.maven.artifact.factory.ArtifactFactory factory
@Parameter(property="project.reporting.outputDirectory", required=true) protected File outputDirectory
@Component protected MavenProject project
@Parameter(property="localRepository", required=true, readonly=true) protected ArtifactRepository localRepository
@Parameter(property="project.remoteArtifactRepositories") protected List<ArtifactRepository> remoteRepositories
@Component protected Settings settings
@Parameter(defaultValue="${project.basedir}/src/site/custom/project-info-report.properties") protected String customBundle
Constructor Detail |
---|
public AbstractProjectInfoReport()
Method Detail |
---|
public void execute() throws MojoExecutionException
execute
in interface Mojo
execute
in class AbstractMavenReport
MojoExecutionException
public String getCategoryName()
getCategoryName
in interface MavenReport
getCategoryName
in class AbstractMavenReport
protected String getOutputDirectory()
getOutputDirectory
in class AbstractMavenReport
public File getReportOutputDirectory()
getReportOutputDirectory
in interface MavenReport
getReportOutputDirectory
in class AbstractMavenReport
public void setReportOutputDirectory(File reportOutputDirectory)
setReportOutputDirectory
in interface MavenReport
setReportOutputDirectory
in class AbstractMavenReport
protected MavenProject getProject()
getProject
in class AbstractMavenReport
protected Renderer getSiteRenderer()
getSiteRenderer
in class AbstractMavenReport
protected String getI18nString(Locale locale, String key)
protected I18N getI18N(Locale locale)
protected abstract String getI18Nsection()
public String getName(Locale locale)
public String getDescription(Locale locale)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |