From 03aa646667d9eecab139a355207089cdc88fc471 Mon Sep 17 00:00:00 2001
From: Peter van 't Hof <p.j.van_t_hof@lumc.nl>
Date: Fri, 25 Sep 2015 14:54:49 +0200
Subject: [PATCH] added scripts to copy sources

---
 biopet-aggregate/copy-src.sh |  6 ++++++
 biopet-aggregate/rm-src.sh   |  6 ++++++
 public/pom.xml               | 14 +++++++++++++-
 3 files changed, 25 insertions(+), 1 deletion(-)
 create mode 100755 biopet-aggregate/copy-src.sh
 create mode 100755 biopet-aggregate/rm-src.sh

diff --git a/biopet-aggregate/copy-src.sh b/biopet-aggregate/copy-src.sh
new file mode 100755
index 000000000..fdfefa484
--- /dev/null
+++ b/biopet-aggregate/copy-src.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+DIR=`readlink -f \`dirname $0\``
+
+cp -r $DIR/../*/*/src/* $DIR/src
+
diff --git a/biopet-aggregate/rm-src.sh b/biopet-aggregate/rm-src.sh
new file mode 100755
index 000000000..f0a2e2b93
--- /dev/null
+++ b/biopet-aggregate/rm-src.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+DIR=`readlink -f \`dirname $0\``
+
+rm -r $DIR/src/main $DIR/src/test
+
diff --git a/public/pom.xml b/public/pom.xml
index 3cb8ecd06..35f70437b 100644
--- a/public/pom.xml
+++ b/public/pom.xml
@@ -246,9 +246,10 @@
               <configuration>
                   <scalaVersion>${scalaVersion}</scalaVersion>
                   <aggregate>true</aggregate>
+                  <highlighting>true</highlighting>
                   <!-- other parameters -->
               </configuration>
-            </plugin>
+          </plugin>
       </plugins>
     </build>
     <reporting>
@@ -257,6 +258,17 @@
                 <groupId>org.scoverage</groupId>
                 <artifactId>scoverage-maven-plugin</artifactId>
                 <version>${scoverage.plugin.version}</version>
+                <configuration>
+                    <aggregate>true</aggregate> <!-- for aggregated report -->
+                    <highlighting>true</highlighting>
+                </configuration>
+                <reportSets>
+                    <reportSet>
+                        <reports>
+                            <report>report</report> <!-- select only one report from: report, integration-report and report-only reporters -->
+                        </reports>
+                    </reportSet>
+                </reportSets>
             </plugin>
         </plugins>
     </reporting>
-- 
GitLab