From b55f76fcf425a8cea14bf244e02de7d45e648c50 Mon Sep 17 00:00:00 2001
From: yurii_ruban <yurii_ruban@epam.com>
Date: Wed, 26 Jul 2023 16:23:26 +0300
Subject: [PATCH] Updated arg parameters

---
 indexer-core/pom.xml             | 2 +-
 provider/indexer-aws/pom.xml     | 2 +-
 provider/indexer-azure/pom.xml   | 2 +-
 provider/indexer-gc/pom.xml      | 2 +-
 provider/indexer-ibm/pom.xml     | 2 +-
 testing/indexer-test-aws/pom.xml | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/indexer-core/pom.xml b/indexer-core/pom.xml
index fe94e5d71..e4ec645e4 100644
--- a/indexer-core/pom.xml
+++ b/indexer-core/pom.xml
@@ -264,7 +264,7 @@
 				<artifactId>maven-surefire-plugin</artifactId>
 				<version>2.21.0</version>
 				<configuration>
-					<argLine>--add-opens java.base/java.lang=ALL_UNNAMED</argLine>
+					<argLine>@{argLine} --add-opens java.base/java.lang=ALL_UNNAMED</argLine>
 				</configuration>
 			</plugin>
 		</plugins>
diff --git a/provider/indexer-aws/pom.xml b/provider/indexer-aws/pom.xml
index 1b5182104..99e904cb7 100644
--- a/provider/indexer-aws/pom.xml
+++ b/provider/indexer-aws/pom.xml
@@ -206,7 +206,7 @@
                 <version>2.21.0</version>
                 <configuration>
                     <argLine>
-                        --add-opens java.base/java.util=ALL-UNNAMED
+                        @{argLine} --add-opens java.base/java.util=ALL-UNNAMED
                         --add-opens java.base/java.lang=ALL-UNNAMED
                     </argLine>
                 </configuration>
diff --git a/provider/indexer-azure/pom.xml b/provider/indexer-azure/pom.xml
index b643785bc..c65f26d6f 100644
--- a/provider/indexer-azure/pom.xml
+++ b/provider/indexer-azure/pom.xml
@@ -445,7 +445,7 @@
                 <artifactId>maven-surefire-plugin</artifactId>
                 <version>2.21.0</version>
                 <configuration>
-                    <argLine>--add-opens java.base/java.lang=ALL_UNNAMED</argLine>
+                    <argLine>@{argLine} --add-opens java.base/java.lang=ALL_UNNAMED</argLine>
                 </configuration>
             </plugin>
             <plugin>
diff --git a/provider/indexer-gc/pom.xml b/provider/indexer-gc/pom.xml
index 2a28d3439..9fa102408 100644
--- a/provider/indexer-gc/pom.xml
+++ b/provider/indexer-gc/pom.xml
@@ -197,7 +197,7 @@
                 <version>2.21.0</version>
                 <configuration>
                     <argLine>
-                        --add-opens java.base/java.util=ALL-UNNAMED
+                        @{argLine} --add-opens java.base/java.util=ALL-UNNAMED
                         --add-opens java.base/java.lang=ALL-UNNAMED
                     </argLine>
                 </configuration>
diff --git a/provider/indexer-ibm/pom.xml b/provider/indexer-ibm/pom.xml
index 707627a92..dce996423 100644
--- a/provider/indexer-ibm/pom.xml
+++ b/provider/indexer-ibm/pom.xml
@@ -226,7 +226,7 @@
                 <artifactId>maven-surefire-plugin</artifactId>
                 <version>2.21.0</version>
                 <configuration>
-                    <argLine>--add-opens java.base/java.lang=ALL_UNNAMED</argLine>
+                    <argLine>@{argLine} --add-opens java.base/java.lang=ALL_UNNAMED</argLine>
                 </configuration>
             </plugin>
         </plugins>
diff --git a/testing/indexer-test-aws/pom.xml b/testing/indexer-test-aws/pom.xml
index 5d36983ec..fc4a066c9 100644
--- a/testing/indexer-test-aws/pom.xml
+++ b/testing/indexer-test-aws/pom.xml
@@ -37,8 +37,8 @@
         <jackson-databind.version>2.13.2.2</jackson-databind.version>
         <jackson.version>2.13.2</jackson.version>
         <argLine>
+            --add-opens java.base/java.util=ALL-UNNAMED
             --add-opens java.base/java.lang=ALL-UNNAMED
-            --add-opens=java.base/java.util=ALL-UNNAMED
             --add-opens java.base/java.lang.reflect=ALL-UNNAMED
             --add-opens java.base/java.text=ALL-UNNAMED
             --add-opens java.desktop/java.awt.font=ALL-UNNAMED
-- 
GitLab