Package org.codehaus.mojo.gwt.reports
Class CompileReport
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.maven.reporting.AbstractMavenReport
-
- org.codehaus.mojo.gwt.reports.CompileReport
-
- 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="compile-report", threadSafe=true) public class CompileReport extends org.apache.maven.reporting.AbstractMavenReportsee http://code.google.com/webtoolkit/doc/latest/DevGuideCompileReport.html#Usage- Since:
- 2.1.0-1
- Author:
- Olivier Lamy
-
-
Field Summary
Fields Modifier and Type Field Description protected ClasspathBuilderclasspathBuilderprotected org.codehaus.plexus.i18n.I18Ni18nInternationalization component.protected FileoutputDirectoryThe output directory for the report.protected org.apache.maven.project.MavenProjectprojectThe Maven Project.protected FilereportingOutputDirectoryThe output directory of the gwt compiler reports.protected org.apache.maven.doxia.siterenderer.RenderersiteRendererDoxia Site Renderer component.
-
Constructor Summary
Constructors Constructor Description CompileReport()
-
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()booleanisExternalReport()-
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
closeReport, execute, generate, generate, generate, getReportOutputDirectory, getSink, getSinkFactory, setReportOutputDirectory
-
-
-
-
Field Detail
-
reportingOutputDirectory
@Parameter(defaultValue="${project.reporting.outputDirectory}/gwtCompileReports", required=true, readonly=true) protected File reportingOutputDirectoryThe output directory of the gwt compiler reports.
-
siteRenderer
@Component protected org.apache.maven.doxia.siterenderer.Renderer siteRenderer
Doxia Site Renderer component.- Since:
- 2.1.0-1
-
outputDirectory
@Parameter(defaultValue="${project.reporting.outputDirectory}", required=true) protected File outputDirectoryThe output directory for the report. Note that this parameter is only evaluated if the goal is run directly from the command line. If the goal is run indirectly as part of a site generation, the output directory configured in the Maven Site Plugin is used instead.- Since:
- 2.1.0-1
-
project
@Parameter(defaultValue="${project}", required=true, readonly=true) protected org.apache.maven.project.MavenProject projectThe Maven Project.- Since:
- 2.1.0-1
-
classpathBuilder
@Component protected ClasspathBuilder classpathBuilder
- Since:
- 2.1.0-1
-
i18n
@Component protected org.codehaus.plexus.i18n.I18N i18n
Internationalization component.- Since:
- 2.1.0-1
-
-
Method Detail
-
canGenerateReport
public boolean canGenerateReport()
- Specified by:
canGenerateReportin interfaceorg.apache.maven.reporting.MavenReport- Overrides:
canGenerateReportin classorg.apache.maven.reporting.AbstractMavenReport- See Also:
MavenReport.canGenerateReport()
-
getCategoryName
public String getCategoryName()
- Specified by:
getCategoryNamein interfaceorg.apache.maven.reporting.MavenReport- Overrides:
getCategoryNamein classorg.apache.maven.reporting.AbstractMavenReport- See Also:
MavenReport.getCategoryName()
-
getDescription
public String getDescription(Locale locale)
- See Also:
MavenReport.getDescription(java.util.Locale)
-
getOutputName
public String getOutputName()
- See Also:
MavenReport.getOutputName()
-
isExternalReport
public boolean isExternalReport()
- Specified by:
isExternalReportin interfaceorg.apache.maven.reporting.MavenReport- Overrides:
isExternalReportin classorg.apache.maven.reporting.AbstractMavenReport- See Also:
MavenReport.isExternalReport()
-
getSiteRenderer
protected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
- Specified by:
getSiteRendererin classorg.apache.maven.reporting.AbstractMavenReport
-
getOutputDirectory
protected String getOutputDirectory()
- Specified by:
getOutputDirectoryin classorg.apache.maven.reporting.AbstractMavenReport
-
getProject
protected org.apache.maven.project.MavenProject getProject()
- Specified by:
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- See Also:
AbstractMavenReport.executeReport(java.util.Locale)
-
-