maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Wienke <>
Subject PMD plugin ignores rue properties in custom ruleset
Date Mon, 05 Aug 2013 14:46:44 GMT

I have a problem with the PMD plugin for maven. For our project I have
defined a custom rulest 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.

And idea what could cause this?

Thanks for any help,

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


View raw message