You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "mike perham (JIRA)" <ji...@codehaus.org> on 2006/01/08 23:03:01 UTC

[jira] Commented: (MPMD-4) PMD should use "sensible" default rulesets

    [ http://jira.codehaus.org/browse/MPMD-4?page=comments#action_55248 ] 

mike perham commented on MPMD-4:
--------------------------------

I have submitted MPMD-2 and it allows you to configure the rulesets used by PMD.

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-pmd-plugin</artifactId>
		<configuration>
			<rulesets>
				<ruleset>basic</ruleset>
				<ruleset>controversial</ruleset>
			</rulesets>
                </configuration>
            </plugin>
        </plugins>
    </reporting>

where the two rulesets are assumed to reside in the PMD standard location on the classpath: /rulesets/[name].xml.  Is this flexible enough to close this issue?

> PMD should use "sensible" default rulesets
> ------------------------------------------
>
>          Key: MPMD-4
>          URL: http://jira.codehaus.org/browse/MPMD-4
>      Project: Maven 2.x Pmd Plugin
>         Type: Task

>     Reporter: Dave Sag
>  Attachments: Locator.java, MNG-1158-maven-pmd-plugin.patch, PmdReport.java.diff
>
>
> When I add a PMD report to my pom.xml the PMD report claims that my class 'Address' should have a constructor.
> this is crazy talk - Address.java is an interface class.
> i guess this is really a PMD bug but i find it hard to believe that such a well established tool as PMD would still be throwing up bugs like this.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org