From 4879006941e7d727ab4273c83b979fbd425f1f86 Mon Sep 17 00:00:00 2001
From: Daniel Haag <daniel.haag@uibk.ac.at>
Date: Tue, 16 Oct 2018 18:00:46 +0200
Subject: [PATCH] added late property evaluation for argLine to not loose the
 jacoco arguments

---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index be10e9ebdc1..bffc68aea9d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1373,7 +1373,7 @@
 				<configuration>
 					<encoding>UTF-8</encoding>
 					<skipTests>${skipTests}</skipTests>
-					<argLine>-Xmx512m -Xms256m -Djava.awt.headless=true</argLine>
+					<argLine>@{argLine} -Xmx512m -Xms256m -Djava.awt.headless=true</argLine>
 					<systemPropertyVariables>
 						<java.io.tmpdir>${project.build.directory}/olatdata</java.io.tmpdir>
 					</systemPropertyVariables>
@@ -1395,7 +1395,7 @@
 					<skipITs>${skipSeleniumTests}</skipITs>
 					<skipTests>${skipSeleniumTests}</skipTests>
 					<reuseForks>false</reuseForks>
-					<argLine>-Xmx512m -Xms256m -Djava.awt.headless=true</argLine>
+					<argLine>@{argLine} -Xmx512m -Xms256m -Djava.awt.headless=true</argLine>
 					<trimStackTrace>false</trimStackTrace>
 					<systemPropertyVariables>
 						<profile>${test.env}</profile>
-- 
GitLab