commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [general] where to place custom PMD rules?
Date Mon, 25 Jul 2011 05:00:05 GMT
On 2011-07-23, Phil Steitz wrote:

> On 7/23/11 5:48 AM, Stefan Bodewig wrote:

>> I'm not familiar with the PMD plugin but think the easiest way to do
>> that is by adding a rules file of my own that "ref"s the basic ruleset
>> excluding the octal rule.  Is there some sort of standard location in
>> mvn builds where I'd place such a custom rules file inside the source
>> tree?

> I have not done this, but it looks to me like the way to do this is
> to specify the rule file location in the maven pmd plugin config, as
> in [1].

That's what I meant.

> I would just put the file in the base directory of [compress] (as we
> generally do for checkstyle.xml, findbugs, etc.)

OK, I wouldn't have known where to place a checkstyle.xml either 8-)

Done.

Thanks

        Stefan

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


Mime
View raw message