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