Enhancer for the PMD plugin. The PMD tasks will be configured to let the build continue even if violations are found and to use use the rule file distributed with Quill, unless explicitly configured otherwise.
Each task will also have a TransformingReport added to its convention. This report will,
if enabled, create an HTML report from the XML report by applying an XSL transformation.
Finally, the dependencies of the pmd configuration are adjusted with respect to the
PMD version in use, since the name of the PMD artifact has changed over time.
| Constructor and description |
|---|
PmdEnhancer
(Project pProject)Create an enhancer for the PmdPlugin. |
| Type | Name and description |
|---|---|
void |
configureExtension()Configure the PMD extension with some opinionated defaults. |
AbstractCheckTaskEnhancer<Pmd> |
createTaskEnhancer(Pmd pTask) |
void |
enhance() |
java.lang.Class<Pmd> |
getTaskClass() |
| Methods inherited from class | Name |
|---|---|
class AbstractPluginEnhancer |
configureExtension, createTaskEnhancer, createTemporaryFileSpec, enhance, getTaskClass |
class ProjectAware |
getProject |
Create an enhancer for the PmdPlugin.
pProject - The project in which the plugin should be enhanced.Configure the PMD extension with some opinionated defaults.