@Mojo(name="report",
threadSafe=true)
@Execute(phase=PROCESS_CLASSES)
public class PluginReport
extends org.apache.maven.reporting.AbstractMavenReport
plugin-info.html
plugin overview page,
and one goal-mojo.html
per goal.Modifier and Type | Field | 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 org.apache.maven.tools.plugin.scanner.MojoScanner |
mojoScanner |
Mojo scanner tools.
|
protected List<org.apache.maven.artifact.repository.ArtifactRepository> |
remoteRepos |
List of Remote Repositories used by the resolver
|
Constructor | Description |
---|---|
PluginReport() |
Modifier and Type | Method | 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, getInputEncoding, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectory
@Component protected org.apache.maven.tools.plugin.scanner.MojoScanner mojoScanner
@Parameter(property="goalPrefix") protected String goalPrefix
The goal prefix that will appear before the ":". By default, this plugin applies a heuristic to derive a heuristic from the plugin's artifactId.
It removes any occurrences of the regular expression -?maven-?, and then removes any occurrences of -?plugin-?.
For example, horsefeature-maven-plugin becomes horsefeature.
(There is a special case 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.AbstractMavenReport
protected String getOutputDirectory()
getOutputDirectory
in class org.apache.maven.reporting.AbstractMavenReport
protected org.apache.maven.project.MavenProject getProject()
getProject
in class org.apache.maven.reporting.AbstractMavenReport
public boolean canGenerateReport()
canGenerateReport
in class org.apache.maven.reporting.AbstractMavenReport
protected void executeReport(Locale locale) throws org.apache.maven.reporting.MavenReportException
executeReport
in class org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.reporting.MavenReportException
public String getOutputName()
protected static ResourceBundle getBundle(Locale locale)
locale
- not nullCopyright © 2004–2019 The Apache Software Foundation. All rights reserved.