From 4bfa88b751244a64c5cce6b1158b31c40356bf61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hallvard=20Tr=C3=A6tteberg?= <hal@ntnu.no>
Date: Thu, 20 Aug 2020 21:53:54 +0000
Subject: [PATCH] Support testfx tests

---
 javafx-app/pom.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/javafx-app/pom.xml b/javafx-app/pom.xml
index 07c4986..9d00686 100644
--- a/javafx-app/pom.xml
+++ b/javafx-app/pom.xml
@@ -84,7 +84,11 @@
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-surefire-plugin</artifactId>
-				<version>2.22.2</version>
+                <version>3.0.0-M5</version>
+                <configuration>
+                    <redirectTestOutputToFile>true</redirectTestOutputToFile>
+                    <argLine>--add-exports javafx.graphics/com.sun.javafx.application=ALL-UNNAMED</argLine>
+                </configuration>
 			</plugin>
 
 			<!-- Running JavaFX code -->
-- 
GitLab