Class 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.AbstractMavenReport
    see http://code.google.com/webtoolkit/doc/latest/DevGuideCompileReport.html#Usage
    Since:
    2.1.0-1
    Author:
    Olivier Lamy
    • Field Detail

      • reportingOutputDirectory

        @Parameter(defaultValue="${project.reporting.outputDirectory}/gwtCompileReports",
                   required=true,
                   readonly=true)
        protected File reportingOutputDirectory
        The 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 outputDirectory
        The 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 project
        The 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
    • Constructor Detail

      • CompileReport

        public CompileReport()
    • Method Detail

      • canGenerateReport

        public boolean canGenerateReport()
        Specified by:
        canGenerateReport in interface org.apache.maven.reporting.MavenReport
        Overrides:
        canGenerateReport in class org.apache.maven.reporting.AbstractMavenReport
        See Also:
        MavenReport.canGenerateReport()
      • getCategoryName

        public String getCategoryName()
        Specified by:
        getCategoryName in interface org.apache.maven.reporting.MavenReport
        Overrides:
        getCategoryName in class org.apache.maven.reporting.AbstractMavenReport
        See Also:
        MavenReport.getCategoryName()
      • getDescription

        public String getDescription​(Locale locale)
        See Also:
        MavenReport.getDescription(java.util.Locale)
      • getName

        public String getName​(Locale locale)
        See Also:
        MavenReport.getName(java.util.Locale)
      • getOutputName

        public String getOutputName()
        See Also:
        MavenReport.getOutputName()
      • isExternalReport

        public boolean isExternalReport()
        Specified by:
        isExternalReport in interface org.apache.maven.reporting.MavenReport
        Overrides:
        isExternalReport in class org.apache.maven.reporting.AbstractMavenReport
        See Also:
        MavenReport.isExternalReport()
      • getSiteRenderer

        protected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
        Specified by:
        getSiteRenderer in class org.apache.maven.reporting.AbstractMavenReport
      • getOutputDirectory

        protected String getOutputDirectory()
        Specified by:
        getOutputDirectory in class org.apache.maven.reporting.AbstractMavenReport
      • getProject

        protected org.apache.maven.project.MavenProject getProject()
        Specified by:
        getProject in class org.apache.maven.reporting.AbstractMavenReport
      • executeReport

        protected void executeReport​(Locale locale)
                              throws org.apache.maven.reporting.MavenReportException
        Specified by:
        executeReport in class org.apache.maven.reporting.AbstractMavenReport
        Throws:
        org.apache.maven.reporting.MavenReportException
        See Also:
        AbstractMavenReport.executeReport(java.util.Locale)