]> source.dussan.org Git - jgit.git/commitdiff
Exclude generated class UbcCheck from PMD checks 16/94716/2
authorMatthias Sohn <matthias.sohn@sap.com>
Sat, 8 Apr 2017 22:47:40 +0000 (00:47 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 9 Apr 2017 21:07:21 +0000 (17:07 -0400)
Silence the many duplicate code warnings for this generated class.

Change-Id: I3ecb0f986c809dad962b821c5de7cf18865642d3
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index b8b2844d7e1a265714f9a86c4e8db03278734333..2dd32a071186885d46f20c2f03510d39a2d2e3c4 100644 (file)
--- a/pom.xml
+++ b/pom.xml
             <targetJdk>1.8</targetJdk>
             <format>xml</format>
             <failOnViolation>false</failOnViolation>
+            <excludes>
+              <exclude>**/UbcCheck.java</exclude>
+            </excludes>
           </configuration>
           <executions>
             <execution>