This is a follow-up to the reverted CPD commit. Appropriate
configuration is added to mdsal's binding parent.
Change-Id: I38616d2e1b7e4340d31bb977d07c2e7858a352ca
Signed-off-by: Robert Varga <rovarga@cisco.com>
<minimumTokens>101</minimumTokens>
<printFailingErrors>true</printFailingErrors>
<excludeRoots>
- <excludeRoot>${basedir}/target/generated-sources/mdsal-binding</excludeRoot>
+ <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
+ not understand path prefixes nor wildcards. Details are available
+ at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
+ Hence people introducing new generated sources have to include
+ PMD config too.
+ -->
+ <excludeRoot>${basedir}/target/generated-sources</excludeRoot>
</excludeRoots>
<linkXRef>false</linkXRef>
</configuration>