Package org.apache.maven.plugins.pmd
Class AggregatorPmdReport
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.plugins.pmd.AbstractPmdReport
org.apache.maven.plugins.pmd.PmdReport
org.apache.maven.plugins.pmd.AggregatorPmdReport
- All Implemented Interfaces:
ContextEnabled
,Mojo
,MavenMultiPageReport
,MavenReport
- Direct Known Subclasses:
AggregatorPmdNoForkReport
@Mojo(name="aggregate-pmd",
aggregator=true,
threadSafe=true,
requiresDependencyResolution=TEST)
@Execute(phase=TEST_COMPILE)
public class AggregatorPmdReport
extends PmdReport
Creates a PMD site report in an aggregator project based on the rulesets and configuration set in the plugin.
It can also generate a pmd output file aside from the site report in any of the following formats: xml, csv or txt.
- Since:
- 3.15.0
-
Field Summary
Fields inherited from class org.apache.maven.plugins.pmd.AbstractPmdReport
aggregate, excludeFromFailureFile, filesToProcess, format, includeTests, includeXmlInSite, outputDirectory, project, reactorProjects, session, showPmdLog, skipEmptyReport, targetDirectory
Fields inherited from interface org.apache.maven.reporting.MavenReport
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.maven.plugins.pmd.PmdReport
canGenerateReport, createRenderer, executeReport, getDescription, getLocationTemp, getName, getOutputName, getSourceEncoding, setRulesets
Methods inherited from class org.apache.maven.plugins.pmd.AbstractPmdReport
constructXRefLocation, determineCurrentRootLogLevel, getAggregatedProjects, getFilesToProcess, getOutputDirectory, getOutputEncoding, getProject, getSiteRenderer, getToolchain, isXml
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
closeReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectory
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
AggregatorPmdReport
public AggregatorPmdReport()
-
-
Method Details
-
isAggregator
protected boolean isAggregator()- Overrides:
isAggregator
in classAbstractPmdReport
-