maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Wienke (JIRA)" <>
Subject [jira] (MPMD-171) Rule properties are ignored when run under MPMD
Date Tue, 13 Aug 2013 10:10:52 GMT
Johannes Wienke created MPMD-171:

             Summary: Rule properties are ignored when run under MPMD
                 Key: MPMD-171
             Project: Maven PMD Plugin
          Issue Type: Bug
          Components: PMD
    Affects Versions: 3.0.1
         Environment: Linux
            Reporter: Johannes Wienke

For our project I have defined a custom ruleset for PMD in an XML file [1]. This ruleset defines
properties for some of the standard PMD rules using this syntax:

<rule ref="rulesets/java/naming.xml/LongVariable">
        <property name="minimum" value="25"/>

When I execute PMD using a parallel ant file we maintain, these custom properties are respected
correctly. However, when executing PMD through maven, the properties are completely ignored.

The pom.xml we are using is available at [2].


This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message