From f77901ca8919358e76fd832ef176f55e4f9fafb2 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 17 Jan 2014 13:13:38 +0000
Subject: [PATCH] Omit generated messages and config sources from Cobertura coverage reports.
---
opendj-config/pom.xml | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/opendj-config/pom.xml b/opendj-config/pom.xml
index 9971684..d37ffdd 100644
--- a/opendj-config/pom.xml
+++ b/opendj-config/pom.xml
@@ -110,6 +110,20 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ <configuration>
+ <instrumentation>
+ <excludes>
+ <exclude>**/*Messages.class</exclude>
+ <exclude>**/config/client/*CfgClient*.class</exclude>
+ <exclude>**/config/server/*Cfg*.class</exclude>
+ <exclude>**/config/meta/*.class</exclude>
+ </excludes>
+ </instrumentation>
+ </configuration>
+ </plugin>
</plugins>
</build>
<reporting>
--
Gitblit v1.10.0