You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by to...@apache.org on 2022/02/05 01:35:16 UTC
[shardingsphere] branch master updated: Add module opens to fix tests failed in Java 17 (#15245)
This is an automated email from the ASF dual-hosted git repository.
totalo 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 d8621d6 Add module opens to fix tests failed in Java 17 (#15245)
d8621d6 is described below
commit d8621d6bcd04a73b99cf115aca1f3f84216d18f4
Author: 吴伟杰 <wu...@apache.org>
AuthorDate: Sat Feb 5 09:33:34 2022 +0800
Add module opens to fix tests failed in Java 17 (#15245)
---
pom.xml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/pom.xml b/pom.xml
index e2de9d1..c83f4a4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1084,6 +1084,25 @@
<version>${bcprov-jdk15on.version}</version>
</dependency>
</dependencies>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude />
+ </excludes>
+ <argLine>
+ --add-opens java.base/java.lang=ALL-UNNAMED
+ --add-opens java.base/java.lang.reflect=ALL-UNNAMED
+ </argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
</profile>
</profiles>