Revert "Introduce PMD Copy/Paste Detector (CPD)" 97/41997/2
authorRobert Varga <nite@hq.sk>
Mon, 18 Jul 2016 17:58:12 +0000 (17:58 +0000)
committerRobert Varga <nite@hq.sk>
Mon, 18 Jul 2016 17:58:47 +0000 (17:58 +0000)
This reverts commit 68afa051f302f5f67aedd42bf1ab2f4cc20d75c7.
It breaks build in yangtools: checkstyle fails to parse
configuration and cannot assign String to File[].

Change-Id: I5f9025c1dd79c19f10e8c17a56e270d17cbda043
Signed-off-by: Robert Varga <nite@hq.sk>
odlparent/pom.xml

index e8f5732db96265e34b9e784145a6d35fa5068da5..0a8601aac2d7f9f68dd236205cbb62e78adf56d3 100644 (file)
     <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
     <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
     <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
-
-    <pmd.cpd.fail>false</pmd.cpd.fail>
   </properties>
 
   <dependencyManagement>
             </execution>
           </executions>
         </plugin>
-
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-pmd-plugin</artifactId>
-          <version>3.6</version>
-          <executions>
-            <execution>
-              <id>cpd</id>
-              <phase>process-sources</phase>
-              <goals>
-                <goal>cpd-check</goal>
-              </goals>
-              <configuration>
-                  <failOnViolation>${pmd.cpd.fail}</failOnViolation>
-                  <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
-                  <minimumTokens>101</minimumTokens>
-                  <printFailingErrors>true</printFailingErrors>
-                  <excludeRoots>${basedir}/target/generated-sources/mdsal-binding</excludeRoots>
-                  <linkXRef>false</linkXRef>
-              </configuration>
-            </execution>
-          </executions>
-        </plugin>
-
         <plugin>
           <artifactId>maven-compiler-plugin</artifactId>
           <version>${maven.compile.plugin.version}</version>
       <plugin>
         <artifactId>maven-checkstyle-plugin</artifactId>
       </plugin>
-      <plugin>
-        <artifactId>maven-pmd-plugin</artifactId>
-      </plugin>
       <plugin>
         <artifactId>maven-source-plugin</artifactId>
       </plugin>