diff --git a/javafx-template/pom.xml b/javafx-template/pom.xml index 010f57c43fe1169e04b25294a0b574655e1439f7..3488ad50105d23ee0bbc4ff19a52af0ea758c26f 100644 --- a/javafx-template/pom.xml +++ b/javafx-template/pom.xml @@ -81,6 +81,11 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M5</version> + <configuration> + <argLine> + --add-opens app/app=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.application=ALL-UNNAMED + </argLine> + </configuration> </plugin> <plugin> diff --git a/modules-template/ui/pom.xml b/modules-template/ui/pom.xml index 51fb68ab4640c87d6c4150581df6f728950d8beb..71993fd05ca5a5889c3595066a4a219b06cd67fc 100644 --- a/modules-template/ui/pom.xml +++ b/modules-template/ui/pom.xml @@ -75,6 +75,11 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <argLine> + --add-opens calc.ui/ui=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.application=ALL-UNNAMED + </argLine> + </configuration> </plugin> <plugin> diff --git a/packages-template/pom.xml b/packages-template/pom.xml index 7c81cbc079da03b75816fd7fdcf0c951a77077bb..87aaf897963a825acf3de77972dece4c9ed1993f 100644 --- a/packages-template/pom.xml +++ b/packages-template/pom.xml @@ -81,6 +81,11 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M5</version> + <configuration> + <argLine> + --add-opens app/ui=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.application=ALL-UNNAMED + </argLine> + </configuration> </plugin> <plugin>