[m1] PMD: How to add custom rules with Java code?

2006-02-14 Thread Jeff Jensen
I know to use maven.pmd.rulesetfiles to specify the rules config, but I'm not sure of the correct way to get the custom PMD rule Java class files on the classpath so the PMD plugin sees them. Can anyone advise on that, please? -

Re: [m1] PMD: How to add custom rules with Java code?

2006-02-14 Thread Jeff Jensen
Is "maven.dependency.classpath" the classpath created by Maven of all the dependencies listed in the section (I did not see this property described on the Properties Reference page, or elsewhere)? If so, then is the correct solution to install a jar of the custom rules in the local repo and add i

Re: [m1] PMD: How to add custom rules with Java code?

2006-02-15 Thread Arnaud HERITIER
you're right The "maven.dependency.classpath" is the internal classpath referencing all your project dependencies. The better way to use your custom rules is effectively to publish them with a custom project and to use in your dependencies. Arnaud On 2/14/06, Jeff Jensen <[EMAIL PROTECTED]> wrote