[GRADLE-2190] PMD Plugin ignores its "ignoreFailures" setting Created: 21/Mar/12 Updated: 04/Jan/13 Resolved: 24/Apr/12 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 1.0-milestone-9 |
Fix Version/s: | 1.0-rc-1 |
Type: | Bug | ||
Reporter: | Jens Hausherr | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 3 |
Description |
The PMD plugin ignores its documented behaviour to continue the build if "project.pmd.ignoreFailures" is set to true. The following configuration should work (=continue the build on PMD check failures) according to the docs: apply plugin: 'pmd' pmd { ignoreFailures = true } With this configuration pmdMain stops the build on errors. [pmdMain,pmdTest]*.ignoreFailures = project.pmd.ignoreFailures The plugin should behave as documented, so IMHO it is a bug. |