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:
- org.apache.maven.plugin.ContextEnabled,- org.apache.maven.plugin.Mojo,- org.apache.maven.reporting.MavenMultiPageReport,- org.apache.maven.reporting.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 SummaryFields inherited from class org.apache.maven.plugins.pmd.AbstractPmdReportaggregate, excludeFromFailureFile, filesToProcess, format, includeTests, includeXmlInReports, session, showPmdLog, skipEmptyReport, targetDirectoryFields inherited from class org.apache.maven.reporting.AbstractMavenReportlocale, mojoExecution, outputDirectory, outputFormat, outputTimestamp, project, reactorProjects, remoteProjectRepositories, repoSession, siteDirectory, siteRenderer, siteToolFields inherited from interface org.apache.maven.reporting.MavenReportCATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLEFields inherited from interface org.apache.maven.plugin.MojoROLE
- 
Constructor SummaryConstructorsConstructorDescriptionAggregatorCpdReport(org.codehaus.plexus.i18n.I18N i18n, CpdServiceExecutor serviceExecutor) 
- 
Method SummaryMethods inherited from class org.apache.maven.plugins.pmd.CpdReportcanGenerateReport, executeReport, getDescription, getI18nString, getName, getOutputName, getOutputPathMethods inherited from class org.apache.maven.plugins.pmd.AbstractPmdReportcanGenerateReportInternal, getAggregatedProjects, getFilesToProcess, getJdkToolchain, getMojoExecution, getProject, getReactorProjects, isXmlMethods inherited from class org.apache.maven.reporting.AbstractMavenReportcloseReport, constructXrefLocation, execute, generate, generate, getCategoryName, getInputEncoding, getLocale, getOutputDirectory, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, getXrefLocation, isExternalReport, setReportOutputDirectoryMethods inherited from class org.apache.maven.plugin.AbstractMojogetLog, getPluginContext, setLog, setPluginContext
- 
Constructor Details- 
AggregatorCpdReport@Inject public AggregatorCpdReport(org.codehaus.plexus.i18n.I18N i18n, CpdServiceExecutor serviceExecutor) 
 
- 
- 
Method Details- 
isAggregatorprotected boolean isAggregator()- Overrides:
- isAggregatorin class- AbstractPmdReport
 
 
-