I have a multi module project:
grandparent module
> parent module
> child module
> parent module
When I run the maven command I will execute like this
c:\projects\myproject\grandparent module\mvn package
I have defined my PDM configuration in the grandparent module.
<rulesets>
<ruleset>${basedir}/pmd-ruleset.xml</ruleset>
</rulesets>
The trouble is that every project needs to have pmd-ruleset.xml
. I want to put it in the grandparent module
and for all project to use it from here.
how can I achieve that?