Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolf2017-01-16 01:48:13 -0500
committerThomas Wolf2017-01-16 01:48:13 -0500
commit3e641f001a82672f20ba9fa380acd8f8b3614b32 (patch)
tree62e4e9c0bf001c769e6bd5f3aae88b2d83fae37e /org.eclipse.egit.ui.test/pom.xml
parent08d562d057ee9e7b149cd9c5c0e325f1a83fa659 (diff)
downloadegit-3e641f001a82672f20ba9fa380acd8f8b3614b32.tar.gz
egit-3e641f001a82672f20ba9fa380acd8f8b3614b32.tar.xz
egit-3e641f001a82672f20ba9fa380acd8f8b3614b32.zip
Exclude test classes from CPD analysis
Duplicate code occurs quite frequently in test classes, but is not really a problem there. What we really care about (or should care about) is code duplication in the real product bundles. Change-Id: Ib02658baad72eb1e061649a54f6475a15d1d583d Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.egit.ui.test/pom.xml')
-rw-r--r--org.eclipse.egit.ui.test/pom.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui.test/pom.xml b/org.eclipse.egit.ui.test/pom.xml
index e65bf9a57..2d57d4541 100644
--- a/org.eclipse.egit.ui.test/pom.xml
+++ b/org.eclipse.egit.ui.test/pom.xml
@@ -94,6 +94,15 @@
<application>org.eclipse.ui.ide.workbench</application>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>**/*Test.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>

Back to the top