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.
---
pom.xml | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/pom.xml b/pom.xml
index 9cf2686..06f90fa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -308,6 +308,17 @@
<version>${i18nFrameworkVersion}</version>
</plugin>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ <configuration>
+ <instrumentation>
+ <excludes>
+ <exclude>**/*Messages.class</exclude>
+ </excludes>
+ </instrumentation>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.2.2</version>
--
Gitblit v1.10.0