OK, I think it works. If you set the profile m2eclipse, it will avoid
the custom-class PMD check, and you should get the same treatment we
get from the maven-eclipse-plugin.


On Sat, Dec 11, 2010 at 8:41 PM, Benson Margulies <bimargul...@gmail.com> wrote:
> I see what the trick is here.
>
> When running in eclipse, the existing scheme plays a trick to use set
> of PMD rules that omits the custom rule, for the very reason you ran
> into. Unfortunately for us, the auto-configuration tries to pick them
> right back up, but that does not fly.
>
> So, the question is, how to derail this? One way is to define a
> profile that redirects the PMD rules in the eclipse case. I'll have a
> look.
>

Reply via email to