The following issue has been updated: Updater: Sebastian Esponda (mailto:[EMAIL PROTECTED]) Date: Tue, 19 Oct 2004 12:58 PM Comment: We needed PMD to analyze our tests sources, so we did some changes:
Plugin.jelly: If ${pom.build.unitTestSourceDirectory} points to a valid directory, a second fileset is included in pmd ant task. Plugin.jsl: The original file always used <a href="xref/... etc > when linking line numbers to sources. This failed for tests sources. Now, if the file path starts with ${pom.build.unitTestSourceDirectory} the link will be <a href="xref-test/... etc > In the zip file I’m including: New plugin.jelly New plugin.jsl Patch for plugin.jelly 1.15 (Previously posted, included here for convenience) Patch for plugin.jsl 1.4 ... just in case you find it useful (hope so) I’ve just learned jsl and jelly... so this is probably with bugs... but it’s working ok in our environment ;) Regards, Changes: Attachment changed to pmd-tests.zip --------------------------------------------------------------------- For a full history of the issue, see: http://jira.codehaus.org/browse/MPPMD-14?page=history --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/MPPMD-14 Here is an overview of the issue: --------------------------------------------------------------------- Key: MPPMD-14 Summary: PMD should run on unit tests Type: Improvement Status: Unassigned Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven-pmd-plugin Assignee: Reporter: Kenneth Leider Created: Thu, 30 Sep 2004 1:36 PM Updated: Tue, 19 Oct 2004 12:58 PM Description: Right now the only files under "pom.build.sourceDirectory" are checked. It would be nice is source under "pom.build.unitTestSourceDirectory" could be checked as well. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]