Parcourir la source

enable native access for javafx.graphics during tests

references #3882
Armin Schrenk il y a 4 jours
Parent
commit
0d4f373311
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pom.xml

+ 1 - 1
pom.xml

@@ -358,7 +358,7 @@
 					<consoleOutputReporter>
 						<disable>true</disable>
 					</consoleOutputReporter>
-					<argLine>@{surefire.jacoco.args} -javaagent:${org.mockito:mockito-core:jar}</argLine>
+					<argLine>@{surefire.jacoco.args} -javaagent:${org.mockito:mockito-core:jar} --enable-native-access=javafx.graphics</argLine>
 					<statelessTestsetInfoReporter
 							implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoTreeReporter">
 					</statelessTestsetInfoReporter>