Do not run CPD on anything in target/generated-sources 39/43039/2
authorRobert Varga <rovarga@cisco.com>
Wed, 3 Aug 2016 12:30:56 +0000 (14:30 +0200)
committerRobert Varga <rovarga@cisco.com>
Wed, 3 Aug 2016 12:34:17 +0000 (14:34 +0200)
From layering perspective odlparent does not know anything
about mdsal, hence it must not make any special handling
for its behavior.

What it can do is to say that we simply do not CPD any
source that is generated -- which is actually the correct
thing to do.

Change-Id: If325f2c1da00fdba8f337f6b75fb860ac86797fa
Signed-off-by: Robert Varga <rovarga@cisco.com>
odlparent/pom.xml

index 9a6500023c4e34017cbfa9d8fb7b345a40aea1da..49d883a4cdb811bd56ad7ec2b4ff0abe5fa77bca 100644 (file)
                 <minimumTokens>101</minimumTokens>
                 <printFailingErrors>true</printFailingErrors>
                 <excludeRoots>
-                  <excludeRoot>${basedir}/target/generated-sources/mdsal-binding</excludeRoot>
+                  <excludeRoot>${basedir}/target/generated-sources</excludeRoot>
                 </excludeRoots>
                 <linkXRef>false</linkXRef>
               </configuration>