Package org.nuiton.eugene.plugin
Class TagValuesReport
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.maven.reporting.AbstractMavenReport
-
- org.nuiton.eugene.plugin.TagValuesReport
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,org.apache.maven.reporting.MavenMultiPageReport,org.apache.maven.reporting.MavenReport
@Mojo(name="tag-values-report", requiresReports=true, requiresDependencyResolution=COMPILE) public class TagValuesReport extends org.apache.maven.reporting.AbstractMavenReportTo report aTagValueMetadatasProvider. Created on 5/31/14.- Since:
- 2.10
- Author:
- Tony Chemit - chemit@codelutin.com
-
-
Field Summary
Fields Modifier and Type Field Description protected org.codehaus.plexus.i18n.I18Ni18nInternationalization component.protected StringjavaDocDestDirLocation of javadoc report.protected StringjxrDestDirLocation of xref report.protected FileoutputDirectoryReport output directory.protected StringoutputEncodingReport output encoding.protected org.apache.maven.project.MavenProjectprojectThe Maven Project.protected StringproviderNameName of the tagValue provider.protected Map<String,TagValueMetadatasProvider>providersprotected org.apache.maven.doxia.siterenderer.RenderersiteRendererDoxia Site Renderer component.protected booleanskipSkip to generate the report.
-
Constructor Summary
Constructors Constructor Description TagValuesReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanGenerateReport()protected voidexecuteReport(Locale locale)StringgetCategoryName()StringgetDescription(Locale locale)StringgetName(Locale locale)protected StringgetOutputDirectory()StringgetOutputName()protected org.apache.maven.project.MavenProjectgetProject()protected org.apache.maven.doxia.siterenderer.RenderergetSiteRenderer()-
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
closeReport, execute, generate, generate, generate, getInputEncoding, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectory
-
-
-
-
Field Detail
-
providerName
@Parameter(property="eugene.providerName", defaultValue="${project.artifactId}", required=true) protected String providerNameName of the tagValue provider. This is the role-hint given to the tag value provider to describe.
-
outputDirectory
@Parameter(property="config.outputDirectory", defaultValue="${project.reporting.outputDirectory}", required=true) protected File outputDirectoryReport output directory. Note that this parameter is only relevant if the goal is run from the command line or from the default build lifecycle. If the goal is run indirectly as part of a site generation, the output directory configured in the Maven Site Plugin is used instead.
-
outputEncoding
@Parameter(property="config.outputEncoding", defaultValue="${project.reporting.outputEncoding}", required=true) protected String outputEncodingReport output encoding. Note that this parameter is only relevant if the goal is run from the command line or from the default build lifecycle. If the goal is run indirectly as part of a site generation, the output encoding configured in the Maven Site Plugin is used instead.
-
skip
@Parameter(property="config.skip") protected boolean skip
Skip to generate the report.
-
javaDocDestDir
@Parameter(property="eugene.javaDocDestDir", defaultValue="apidocs") protected String javaDocDestDirLocation of javadoc report.
-
jxrDestDir
@Parameter(property="eugene.jxrDestDir", defaultValue="xref") protected String jxrDestDirLocation of xref report.
-
project
@Parameter(defaultValue="${project}", readonly=true) protected org.apache.maven.project.MavenProject projectThe Maven Project.
-
siteRenderer
@Component protected org.apache.maven.doxia.siterenderer.Renderer siteRenderer
Doxia Site Renderer component.
-
i18n
@Component protected org.codehaus.plexus.i18n.I18N i18n
Internationalization component.
-
providers
@Component(role=org.nuiton.eugene.models.extension.tagvalue.provider.TagValueMetadatasProvider.class) protected Map<String,TagValueMetadatasProvider> providers
-
-
Method Detail
-
getCategoryName
public String getCategoryName()
- Specified by:
getCategoryNamein interfaceorg.apache.maven.reporting.MavenReport- Overrides:
getCategoryNamein classorg.apache.maven.reporting.AbstractMavenReport
-
canGenerateReport
public boolean canGenerateReport()
- Specified by:
canGenerateReportin interfaceorg.apache.maven.reporting.MavenReport- Overrides:
canGenerateReportin classorg.apache.maven.reporting.AbstractMavenReport
-
getSiteRenderer
protected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
- Overrides:
getSiteRendererin classorg.apache.maven.reporting.AbstractMavenReport
-
getOutputDirectory
protected String getOutputDirectory()
- Overrides:
getOutputDirectoryin classorg.apache.maven.reporting.AbstractMavenReport
-
getProject
protected org.apache.maven.project.MavenProject getProject()
- Overrides:
getProjectin classorg.apache.maven.reporting.AbstractMavenReport
-
executeReport
protected void executeReport(Locale locale) throws org.apache.maven.reporting.MavenReportException
- Specified by:
executeReportin classorg.apache.maven.reporting.AbstractMavenReport- Throws:
org.apache.maven.reporting.MavenReportException
-
getOutputName
public String getOutputName()
-
-