From f11c6da3f93cc58c36d49e066ed8475e92084a46 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 (cherry picked from commit 102ebe2a8b2ec9548afb37527c7a30dc24e7d81b) --- notification-core/pom.xml | 11 +++++++++++ pom.xml | 11 ----------- provider/notification-gc/pom.xml | 22 +++++++++++----------- 3 files changed, 22 insertions(+), 22 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 7ccdf17f8..5d93f3a2f 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 390cab590..597a4e1d9 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> -- GitLab