22 Commits

Author SHA1 Message Date
aheritier
2fdfea306f Upgrade to pmd 3.5.
The 'printToConsole' ant task attribute has been deprecated.  Please use the 'toConsole' attribute of the 'formatter' element instead.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@378806 13f79535-47bb-0310-9956-ffa450edef68
2006-02-19 00:48:52 +00:00
ltheussl
794ded338b Handle case where maven.compile.source is not set.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@374831 13f79535-47bb-0310-9956-ffa450edef68
2006-02-04 05:57:28 +00:00
aheritier
9d730f9fbc Default value for the target jdk was set correctly
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@374791 13f79535-47bb-0310-9956-ffa450edef68
2006-02-04 00:01:46 +00:00
aheritier
7911b3d832 PR: MPPMD-19
Submitted by: Wim Deblauwe
Reviewed by: aheritier
Java language level not settable through plugin

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@374779 13f79535-47bb-0310-9956-ffa450edef68
2006-02-03 23:13:53 +00:00
aheritier
bb9a3d67a3 MPPMD-21 : New properties "maven.pmd.failonerror" and "maven.pmd.failonruleviolation" to fail the build if any errors or problems are found.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@374770 13f79535-47bb-0310-9956-ffa450edef68
2006-02-03 22:50:30 +00:00
aheritier
6c9468d1c7 MPPMD-13 : New property "maven.pmd.console" to display pmd errors to the console.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@374767 13f79535-47bb-0310-9956-ffa450edef68
2006-02-03 22:38:32 +00:00
carlos
e4391ec68c Added ability to check test sources
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@227485 13f79535-47bb-0310-9956-ffa450edef68
2005-08-04 21:01:00 +00:00
dion
5bd3a91a0f MPPMD-12. Only run PMD if sources present
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115899 13f79535-47bb-0310-9956-ffa450edef68
2004-07-29 14:31:30 +00:00
brett
5bc3b2545f PR: MPPMD-7
fixed issues after clean. Fixed handling of cpd.enable property.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115008 13f79535-47bb-0310-9956-ffa450edef68
2004-04-14 00:55:25 +00:00
evenisse
f9eadf7ea2 Fix reports generation if maven.pmd.cpd.enable has the default value (false)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114905 13f79535-47bb-0310-9956-ffa450edef68
2004-03-12 09:42:29 +00:00
evenisse
85df922d35 Update to ASL v.2
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114795 13f79535-47bb-0310-9956-ffa450edef68
2004-03-04 18:40:25 +00:00
brett
23288e17e7 PR: MPPMD-5
Add CPD report patch


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114765 13f79535-47bb-0310-9956-ffa450edef68
2004-03-01 01:50:22 +00:00
dion
d9280d16af Fix for Maven-1044. Allow multiple includes/excludes
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114384 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 15:35:16 +00:00
dion
9bafc7f7e8 Apply MAVEN-1008:
Patch to add the project dependancies to the pmd classpath.
This should allow a custom ruleset jar file that is defined as a dependancy to be added to the pmd classpath.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114303 13f79535-47bb-0310-9956-ffa450edef68
2003-11-10 14:16:40 +00:00
epugh
be7204e145 Give PMD include/exclude filters. Same idea as in Checkstyle.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113685 13f79535-47bb-0310-9956-ffa450edef68
2003-07-22 16:13:27 +00:00
epugh
1bb179001d Small fix to if statement! Jelly can be tricky!
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113684 13f79535-47bb-0310-9956-ffa450edef68
2003-07-22 15:57:56 +00:00
dion
95cc604d8d Teach plugin about sourceMods
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113681 13f79535-47bb-0310-9956-ffa450edef68
2003-07-22 07:05:36 +00:00
evenisse
68daa1e923 Add xml declaration to all xml generated report. Fixed for character encoding.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113614 13f79535-47bb-0310-9956-ffa450edef68
2003-07-08 11:01:08 +00:00
vmassol
0d4000d594 - Fixed Changes report which was not showing up correctly (blank page)
- Fixed MAVEN-538: report generation failing when no errors.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113571 13f79535-47bb-0310-9956-ffa450edef68
2003-07-02 10:06:41 +00:00
abarantsev
5fd73bd725 Removed unneded prefix; it is recommended to include ${basedir} in <sourceDirectory> explicitly
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113310 13f79535-47bb-0310-9956-ffa450edef68
2003-04-09 18:08:18 +00:00
vmassol
8786cd4a91 Made the plugin work with Maven b9
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113258 13f79535-47bb-0310-9956-ffa450edef68
2003-04-04 11:06:45 +00:00
vmassol
5a9dfe3d3c Moved the PMD plugin from http://sourceforge.net/projects/maven-plugins to the Maven CVS. I will move it to another place when we decide to have plugins hosted in a different subproject of maven.apache.org.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113253 13f79535-47bb-0310-9956-ffa450edef68
2003-04-03 18:58:12 +00:00