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 7ccdf17f8bc4be1815d3e42d3578df3d47b84008..5d93f3a2f5f0dc5c5ec3f3c88311b9c45ec3e10d 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 390cab590029617bba8fe8bd1f87f8737bd172ff..597a4e1d9158e959b9173e885c0875c27c493c75 100644 --- a/provider/notification-gc/pom.xml +++ b/provider/notification-gc/pom.xml @@ -167,17 +167,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> + <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>