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.
Version:
$Id$
  • Field Details

    • reactorProjects

      @Parameter(property="reactorProjects", readonly=true) private List<org.apache.maven.project.MavenProject> reactorProjects
      The projects in the reactor for aggregation report.
      Since:
      2.8
  • Constructor Details

    • CheckstyleAggregateReport

      public CheckstyleAggregateReport()
  • Method Details

    • getProject

      protected org.apache.maven.project.MavenProject getProject()
      Overrides:
      getProject in class org.apache.maven.reporting.AbstractMavenReport
    • 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