From ef4a8088284bc7d6fab1f85706844a5c5d38a77f Mon Sep 17 00:00:00 2001
From: Antoine Rey <antoine.rey@gmail.com>
Date: Wed, 10 Aug 2016 18:08:06 +0200
Subject: [PATCH] Fix #172 'mvn site' fails with cobertura-maven-plugin version
 2.7

---
 pom.xml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/pom.xml b/pom.xml
index abfd976..12c1b65 100644
--- a/pom.xml
+++ b/pom.xml
@@ -381,18 +381,18 @@
     </build>
     <reporting>
         <plugins>
-
-            <!--  integrate maven-cobertura-plugin to project site  -->
+            <!-- integrate maven-cobertura-plugin to project site -->
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>cobertura-maven-plugin</artifactId>
                 <version>${cobertura.version}</version>
-                <configuration>
-                    <formats>
-                        <format>html</format>
-                    </formats>
-                    <check/>
-                </configuration>
+                <reportSets>
+                    <reportSet>
+                        <reports>
+                            <report>cobertura</report>
+                        </reports>
+                    </reportSet>
+                </reportSets>
             </plugin>
         </plugins>
     </reporting>
-- 
GitLab