@Mojo(name="generate",
defaultPhase=PREPARE_PACKAGE,
requiresProject=true,
requiresDirectInvocation=false,
executionStrategy="once-per-session",
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
requiresDependencyCollection=COMPILE_PLUS_RUNTIME)
public class ServiceDocGenReport
extends org.apache.maven.reporting.AbstractMavenReport
Maven Plugin to automatically generate documentation for services of the current project.
classnameRegex.ServicesDescriptor.| Modifier and Type | Field and Description |
|---|---|
protected File |
outputDirectory |
| Constructor and Description |
|---|
ServiceDocGenReport() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGenerateReport() |
void |
execute() |
protected void |
executeReport(Locale locale) |
protected ResourceBundle |
getBundle(Locale locale) |
String |
getDescription(Locale locale) |
String |
getName(Locale locale) |
protected String |
getOutputDirectoryPath() |
String |
getOutputName() |
boolean |
isExternalReport() |
closeReport, generate, generate, generate, getCategoryName, getInputEncoding, getOutputDirectory, getOutputEncoding, getProject, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, setReportOutputDirectory@Parameter(defaultValue="${project.reporting.outputDirectory}",
readonly=true,
required=true)
protected File outputDirectory
public String getOutputName()
protected ResourceBundle getBundle(Locale locale)
public boolean isExternalReport()
isExternalReport in interface org.apache.maven.reporting.MavenReportisExternalReport in class org.apache.maven.reporting.AbstractMavenReportprotected String getOutputDirectoryPath()
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
execute in interface org.apache.maven.plugin.Mojoexecute in class org.apache.maven.reporting.AbstractMavenReportorg.apache.maven.plugin.MojoExecutionExceptionpublic 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.MavenReportExceptionCopyright © 2015–2021 MojoHaus. All rights reserved.