Class CheckstyleAggregateReport

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.plugins.checkstyle.AbstractCheckstyleReport
org.apache.maven.plugins.checkstyle.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 Details

    • CheckstyleAggregateReport

      public CheckstyleAggregateReport()
  • Method Details

    • 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 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