Possibility to check classes, chosen with datetime filter
---------------------------------------------------------
Key: MPMD-90
URL: http://jira.codehaus.org/browse/MPMD-90
Project: Maven 2.x PMD Plugin
Issue Type: Improvement
Components: PMD
Reporter: Sergey Petrovskiy
The goal is to check not all classes of project, but only last commited.
If I start pmd with ant, I can define datetime:
<pmd shortFilenames="false">
<ruleset>rulesets/basic.xml</ruleset>
<ruleset>rulesets/unusedcode.xml</ruleset>
<ruleset>rulesets/codesize.xml</ruleset>
<ruleset>rulesets/imports.xml</ruleset>
<formatter type="xml" toFile="${qalab.dir}/PMD-report.xml"
toConsole="true"/>
<fileset dir="${user.dir}">
<include name="**/*.java"/>
<exclude name="**/*Test*.java" />
<date datetime="${start.qa.day}" when="after"/>
</fileset>
</pmd>
I could not find this possibility for maven pmd plugin.
BTW: the same possibility required in checkstyle plugin.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira