Package org.apache.maven.plugins.pmd
Class AggregatorCpdViolationCheckMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojo<Duplication>
org.apache.maven.plugins.pmd.CpdViolationCheckMojo
org.apache.maven.plugins.pmd.AggregatorCpdViolationCheckMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled,- org.apache.maven.plugin.Mojo
@Mojo(name="aggregate-cpd-check",
      defaultPhase=VERIFY,
      threadSafe=true,
      aggregator=true)
@Execute(goal="aggregate-cpd")
public class AggregatorCpdViolationCheckMojo
extends CpdViolationCheckMojo
Fail the build in an aggregator project if there were any CPD violations in the source code.
- Since:
- 3.15.0
- 
Field SummaryFields inherited from class org.apache.maven.plugins.pmd.CpdViolationCheckMojofailOnViolationFields inherited from class org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojoaggregate, projectFields inherited from interface org.apache.maven.plugin.MojoROLE
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.maven.plugins.pmd.CpdViolationCheckMojoexecute, getErrorDetails, getPriority, isFailOnViolation, newViolationDetailsInstance, printErrorMethods inherited from class org.apache.maven.plugins.pmd.AbstractPmdViolationCheckMojoexecuteCheck, getMaxAllowedViolations, printErrorsMethods inherited from class org.apache.maven.plugin.AbstractMojogetLog, getPluginContext, setLog, setPluginContext
- 
Constructor Details- 
AggregatorCpdViolationCheckMojopublic AggregatorCpdViolationCheckMojo()
 
- 
- 
Method Details- 
isAggregatorprotected boolean isAggregator()- Overrides:
- isAggregatorin class- AbstractPmdViolationCheckMojo<Duplication>
 
 
-