@Mojo(name="report", threadSafe=true) @Execute(phase=PROCESS_CLASSES) public class PluginReport extends AbstractMavenReport
plugin-info.html plugin overview page,
and one goal-mojo.html per goal.| Modifier and Type | Field and Description |
|---|---|
protected Set<Artifact> |
dependencies
The set of dependencies for the current project
|
protected String |
goalPrefix
The goal prefix that will appear before the ":".
|
protected ArtifactRepository |
local
Location of the local repository.
|
protected MojoScanner |
mojoScanner
Mojo scanner tools.
|
protected List<ArtifactRepository> |
remoteRepos
List of Remote Repositories used by the resolver
|
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE| 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 MavenProject |
getProject() |
protected Renderer |
getSiteRenderer() |
closeReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectorygetLog, getPluginContext, setLog, setPluginContext@Component protected 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<Artifact> dependencies
@Parameter(defaultValue="${project.remoteArtifactRepositories}", required=true, readonly=true) protected List<ArtifactRepository> remoteRepos
@Parameter(defaultValue="${localRepository}", required=true, readonly=true) protected ArtifactRepository local
protected Renderer getSiteRenderer()
getSiteRenderer in class AbstractMavenReportprotected String getOutputDirectory()
getOutputDirectory in class AbstractMavenReportprotected MavenProject getProject()
getProject in class AbstractMavenReportpublic boolean canGenerateReport()
canGenerateReport in interface MavenReportcanGenerateReport in class AbstractMavenReportprotected void executeReport(Locale locale) throws MavenReportException
executeReport in class AbstractMavenReportMavenReportExceptionpublic String getOutputName()
protected static ResourceBundle getBundle(Locale locale)
locale - not nullCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.