From 102ebe2a8b2ec9548afb37527c7a30dc24e7d81b Mon Sep 17 00:00:00 2001 From: Solomon Ayalew <solxget@amazon.com> Date: Wed, 4 Oct 2023 15:00:06 -0700 Subject: [PATCH] added command line arg to the right place --- notification-core/pom.xml | 11 +++++++++++ pom.xml | 11 ----------- provider/notification-gc/pom.xml | 11 +++++++++++ 3 files changed, 22 insertions(+), 11 deletions(-) diff --git a/notification-core/pom.xml b/notification-core/pom.xml index 95e15e930..81502bc48 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 6cfa3bacc..395b309d1 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 64c38320c..f06da625a 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> -- GitLab