You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2010/05/01 14:55:12 UTC

[jira] Updated: (MPMD-90) Possibility to check classes, chosen with datetime filter

     [ http://jira.codehaus.org/browse/MPMD-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MPMD-90:
------------------------------

    Description: 
The goal is to check not all classes of project, but only last commited.

If I start pmd with Ant, I can define datetime:
{code:xml}
        <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>
{code}
I could not find this possibility for maven pmd plugin.

BTW: the same possibility required in checkstyle plugin.

  was:
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.


> 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:
> {code:xml}
>         <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>
> {code}
> 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