2009/10/22 Brett Porter <br...@apache.org>: > It does work as a plugin dependency, but I'm not sure about that for eclipse > (though presumably if you have that resources project open, you can point it > directly at the file).
AFAICT, the Eclipse plugin is rather limited in what it supports. I have only been able to add an absolute path to a rule set. > The example is the same as at the bottom of this page for Checkstyle: > http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/custom-developed-checkstyle.html Yes, I know about this. :-) Here's what I tried and doesn't work: pmd-ruleset: src/main/resources/rulesets/da.xml (full set of rules; this is what Eclipse generates so I expect it to be okay) my-project pom.xml (snippets only): <dependency> <artifactId>pmd-ruleset</artifactId> </dependency> <plugin> <artifactId>maven-pmd-plugin</artifactId> <configuration> <rulesets> <ruleset>/rulesets/da.xml</ruleset> </rulesets> </configuration> </plugin> The plugin then complains that it can't find da.xml. I've also tried it with the dependency directly under the plugin. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org