I have a set of custom pmd rules.
It consists of 2 parts.
1) a custom ruleset-foo.xml
2) a jar file containing the implementation of those rules. (AbstractRule
classes).
Using the maven-pmd-plugin, how do I get my custom jar file into it's
classpath?
Using the often talked about hack of
${pom.getPluginContext('maven-pmd-plugin')} and then
manipulating it, doesn't work in this situation, as the MavenJellyContext
does not
apparently contain dependancy classpath information for me to manipulate in
a preGoal
prior to running the pmd:report goal.
I think this might be a bug.
/me wanders off to jira to look ...
/* Joakim Erdfelt */