Package org.apache.maven.plugins.pmd
Class AggregatorCpdReport
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.plugins.pmd.AbstractPmdReport
org.apache.maven.plugins.pmd.CpdReport
org.apache.maven.plugins.pmd.AggregatorCpdReport
- All Implemented Interfaces:
ContextEnabled
,Mojo
,MavenMultiPageReport
,MavenReport
@Mojo(name="aggregate-cpd",
aggregator=true,
threadSafe=true)
public class AggregatorCpdReport
extends CpdReport
Creates a report for PMD's Copy/Paste Detector (CPD) tool in an aggregator project.
It can also generate a cpd results file in any of these formats: xml, csv or txt.
See Finding duplicated code for more details.
- 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
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugins.pmd.CpdReport
canGenerateReport, createRenderer, executeReport, getDescription, getName, getOutputName
Methods inherited from class org.apache.maven.plugins.pmd.AbstractPmdReport
constructXRefLocation, determineCurrentRootLogLevel, getAggregatedProjects, getFilesToProcess, getOutputDirectory, getOutputEncoding, getProject, getSiteRenderer, getSourceEncoding, 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
-
AggregatorCpdReport
public AggregatorCpdReport()
-
-
Method Details
-
isAggregator
protected boolean isAggregator()- Overrides:
isAggregator
in classAbstractPmdReport
-