maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <wsm...@gmail.com>
Subject Re: [m2] PMD plugin and custom rulesets
Date Sun, 06 Jan 2008 17:15:23 GMT
On Jan 6, 2008 10:06 AM, Jeff Jensen <jeffjensen@upstairstechnology.com> wrote:
> I have a jar for custom PMD rules; it has Java classes and the XML rulesets.
> The rulesets are in a top-level "/rulesets" dir.
>
> I have the jar as a POM dependency:
>     <dependency>
>       <groupId>pmd</groupId>
>       <artifactId>pmdcustomrules</artifactId>
>       <version>1.2</version>
>     </dependency>

Try putting the dependency inside the pmd <plugin> element instead of
listing it as a project dependency (which it isn't.)

-- 
Wendy
http://maven.apache.org/ref/2.0.8/maven-model/maven.html

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


Mime
View raw message