@Mojo(name="report",
threadSafe=true)
@Execute(phase=PROCESS_CLASSES)
public class PluginReport
extends org.apache.maven.reporting.AbstractMavenReport
| Modifier and Type | Field and Description |
|---|---|
protected Set<org.apache.maven.artifact.Artifact> |
dependencies
The set of dependencies for the current project
|
protected String |
goalPrefix
The goal prefix that will appear before the ":".
|
protected org.apache.maven.artifact.repository.ArtifactRepository |
local
Location of the local repository.
|
protected MojoScanner |
mojoScanner
Mojo scanner tools.
|
protected List<org.apache.maven.artifact.repository.ArtifactRepository> |
remoteRepos
List of Remote Repositories used by the resolver
|
| Constructor and Description |
|---|
PluginReport() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGenerateReport() |
protected void |
executeReport(Locale locale) |
protected static ResourceBundle |
getBundle(Locale locale) |
String |
getDescription(Locale locale) |
String |
getName(Locale locale) |
protected String |
getOutputDirectory() |
String |
getOutputName() |
protected org.apache.maven.project.MavenProject |
getProject() |
protected org.apache.maven.doxia.siterenderer.Renderer |
getSiteRenderer() |
closeReport, execute, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectory@Component protected MojoScanner mojoScanner
@Parameter(property="goalPrefix") protected String goalPrefix
For example, horsefeature-maven-plugin becomes horsefeature.
(There is a special for maven-plugin-plugin; it is mapped to 'plugin'.
@Parameter(defaultValue="${project.artifacts}",
required=true,
readonly=true)
protected Set<org.apache.maven.artifact.Artifact> dependencies
@Parameter(defaultValue="${project.remoteArtifactRepositories}",
required=true,
readonly=true)
protected List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepos
@Parameter(defaultValue="${localRepository}",
required=true,
readonly=true)
protected org.apache.maven.artifact.repository.ArtifactRepository local
protected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
getSiteRenderer in class org.apache.maven.reporting.AbstractMavenReportprotected String getOutputDirectory()
getOutputDirectory in class org.apache.maven.reporting.AbstractMavenReportprotected org.apache.maven.project.MavenProject getProject()
getProject in class org.apache.maven.reporting.AbstractMavenReportpublic boolean canGenerateReport()
canGenerateReport in interface org.apache.maven.reporting.MavenReportcanGenerateReport in class org.apache.maven.reporting.AbstractMavenReportprotected void executeReport(Locale locale) throws org.apache.maven.reporting.MavenReportException
executeReport in class org.apache.maven.reporting.AbstractMavenReportorg.apache.maven.reporting.MavenReportExceptionpublic String getOutputName()
protected static ResourceBundle getBundle(Locale locale)
locale - not nullCopyright © 2004–2014 The Apache Software Foundation. All rights reserved.