Package org.nuiton.config.plugin
Class ReportMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.nuiton.config.plugin.ReportMojo
- 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="report",
requiresReports=true,
requiresDependencyResolution=RUNTIME)
public class ReportMojo
extends org.apache.maven.reporting.AbstractMavenReport
Generates a report for declared application config via the
ApplicationConfigProvider mechanism.
For each configuration, you can find all his options and actions.
- Since:
- 3.0
- Author:
- Tony - dev@tchemit.fr
-
Field Summary
FieldsFields inherited from class org.apache.maven.reporting.AbstractMavenReport
locale, mojoExecution, outputFormat, outputTimestamp, reactorProjects, remoteProjectRepositories, repoSession, siteDirectory, siteToolFields inherited from interface org.apache.maven.reporting.MavenReport
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLEFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected ClassLoaderprotected voidexecuteReport(Locale locale) getDescription(Locale locale) protected Stringprotected org.apache.maven.project.MavenProjectprotected org.apache.maven.doxia.siterenderer.RendererMethods inherited from class org.apache.maven.reporting.AbstractMavenReport
closeReport, constructXrefLocation, execute, generate, generate, getInputEncoding, getLocale, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, getXrefLocation, isExternalReport, setReportOutputDirectoryMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.reporting.MavenReport
getOutputPath
-
Field Details
-
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.
-
-
Constructor Details
-
ReportMojo
public ReportMojo()
-
-
Method Details
-
createClassLoader
-
getOutputName
-
getDescription
-
getName
-
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
- Overrides:
getOutputDirectoryin classorg.apache.maven.reporting.AbstractMavenReport
-
getProject
protected org.apache.maven.project.MavenProject getProject()- Overrides:
getProjectin classorg.apache.maven.reporting.AbstractMavenReport
-
executeReport
- Specified by:
executeReportin classorg.apache.maven.reporting.AbstractMavenReport- Throws:
org.apache.maven.reporting.MavenReportException
-