Class PmdExecutor
java.lang.Object
org.apache.maven.plugins.pmd.exec.PmdExecutor
Executes PMD with the configuration provided via 
PmdRequest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected static Stringstatic net.sourceforge.pmd.renderers.RenderercreateRenderer(String format, String outputEncoding) Create and return the correct renderer for the output type.static voidExecute PMD analysis from CLI.run()
- 
Constructor Details- 
PmdExecutor
 
- 
- 
Method Details- 
fork- Throws:
- org.apache.maven.reporting.MavenReportException
 
- 
mainExecute PMD analysis from CLI.Single arg with the filename to the serialized PmdRequest.Exit-code: 0 = success, 1 = failure in executing - Parameters:
- args-
 
- 
run- Throws:
- org.apache.maven.reporting.MavenReportException
 
- 
createRendererpublic static net.sourceforge.pmd.renderers.Renderer createRenderer(String format, String outputEncoding) throws org.apache.maven.reporting.MavenReportException Create and return the correct renderer for the output type.- Returns:
- the renderer based on the configured output
- Throws:
- org.apache.maven.reporting.MavenReportException- if no renderer found for the output type
 
- 
buildClasspath
 
-