diff --git a/notification-core/pom.xml b/notification-core/pom.xml index 95e15e930f492596aa54edaa5ae1302a95e0133a..81502bc487c76309bf79af998dea2de1ce22bb59 100644 --- a/notification-core/pom.xml +++ b/notification-core/pom.xml @@ -309,6 +309,17 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>3.0.0</version> + <configuration> + <argLine> + @{argLine} --add-opens java.base/java.util=ALL-UNNAMED + --add-opens java.base/java.lang=ALL-UNNAMED + </argLine> + </configuration> + </plugin> </plugins> </build> <reporting> diff --git a/pom.xml b/pom.xml index ef072623030e7a7b8c82a34f81ab5b2643636d4f..744cfcc9fe0016286e7e42398b5aa46e6c595ce3 100644 --- a/pom.xml +++ b/pom.xml @@ -216,17 +216,6 @@ </generateGitPropertiesFilename> </configuration> </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <version>3.0.0</version> - <configuration> - <argLine> - @{argLine} --add-opens java.base/java.util=ALL-UNNAMED - --add-opens java.base/java.lang=ALL-UNNAMED - </argLine> - </configuration> - </plugin> </plugins> </build> </project> diff --git a/provider/notification-gc/pom.xml b/provider/notification-gc/pom.xml index 1516890210f02262548e891f8f0fcdae99922b82..6afaf0dda5389860c444acc1fab92dbccb85d2e8 100644 --- a/provider/notification-gc/pom.xml +++ b/provider/notification-gc/pom.xml @@ -172,6 +172,17 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>3.0.0</version> + <configuration> + <argLine> + @{argLine} --add-opens java.base/java.util=ALL-UNNAMED + --add-opens java.base/java.lang=ALL-UNNAMED + </argLine> + </configuration> + </plugin> </plugins> </build> </project>