This is an automated email from the ASF dual-hosted git repository.
zhaojinchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 6b9f621e6d6 Fix E2E in java 21. (#32512)
6b9f621e6d6 is described below
commit 6b9f621e6d613c4e3d819bfeefe7e3091577d906
Author: Cong Hu <[email protected]>
AuthorDate: Thu Aug 15 11:31:49 2024 +0800
Fix E2E in java 21. (#32512)
---
pom.xml | 6 ++++++
test/e2e/sql/pom.xml | 8 --------
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/pom.xml b/pom.xml
index 4f6d73af252..0fa51e1ce57 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1342,6 +1342,12 @@
<argLine>--add-opens
java.base/java.lang=ALL-UNNAMED --add-opens
java.base/java.lang.reflect=ALL-UNNAMED --add-opens
java.base/sun.net=ALL-UNNAMED --add-opens
java.base/java.net=ALL-UNNAMED</argLine>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <configuration>
+ <argLine>--add-opens
java.base/java.lang=ALL-UNNAMED --add-opens
java.base/java.lang.reflect=ALL-UNNAMED --add-opens
java.base/sun.net=ALL-UNNAMED --add-opens
java.base/java.net=ALL-UNNAMED</argLine>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
</build>
diff --git a/test/e2e/sql/pom.xml b/test/e2e/sql/pom.xml
index 43a8b0bd269..542a3317dd2 100644
--- a/test/e2e/sql/pom.xml
+++ b/test/e2e/sql/pom.xml
@@ -56,12 +56,4 @@
<artifactId>HikariCP</artifactId>
</dependency>
</dependencies>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
</project>