Class CheckstyleAggregateReport

  • 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="checkstyle-aggregate",
          aggregator=true,
          requiresDependencyResolution=COMPILE,
          threadSafe=true)
    public class CheckstyleAggregateReport
    extends AbstractCheckstyleReport
    A reporting task that performs Checkstyle analysis and generates an aggregate HTML report on the violations that Checkstyle finds in a multi-module reactor build.
    • Constructor Detail

      • CheckstyleAggregateReport

        public CheckstyleAggregateReport()
    • Method Detail

      • createRequest

        protected CheckstyleExecutorRequest createRequest()
                                                   throws org.apache.maven.reporting.MavenReportException
        Create the Checkstyle executor request.
        Specified by:
        createRequest in class AbstractCheckstyleReport
        Returns:
        The executor request.
        Throws:
        org.apache.maven.reporting.MavenReportException - If something goes wrong during creation.
      • getOutputName

        public java.lang.String getOutputName()
      • canGenerateReport

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