You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2023/02/13 13:05:51 UTC
[skywalking] 01/01: Support JDK 11/17 test out of box.
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch jdk11-outofbox
in repository https://gitbox.apache.org/repos/asf/skywalking.git
commit 8830382aea6b0b9aaaee588e254828b508a46b74
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Mon Feb 13 21:05:27 2023 +0800
Support JDK 11/17 test out of box.
---
pom.xml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/pom.xml b/pom.xml
index c82329e801..a4882ddba6 100755
--- a/pom.xml
+++ b/pom.xml
@@ -75,6 +75,15 @@
</mailingLists>
<profiles>
+ <profile>
+ <id>jdk8</id>
+ <activation>
+ <jdk>1.8</jdk>
+ </activation>
+ <properties>
+ <jdk.options></jdk.options>
+ </properties>
+ </profile>
<profile>
<id>backend</id>
<activation>
@@ -156,6 +165,7 @@
<junit.version>5.9.2</junit.version>
<mockito-core.version>4.11.0</mockito-core.version>
<lombok.version>1.18.22</lombok.version>
+ <jdk.options>--add-opens java.base/java.lang=ALL-UNNAMED</jdk.options>
<!-- core lib dependency -->
<grpc.version>1.49.0</grpc.version>
@@ -372,6 +382,7 @@
<exclude>IT*.class</exclude>
<exclude>ShardingIntegrationTest.class</exclude>
</excludes>
+ <argLine>${jdk.options}</argLine>
</configuration>
</plugin>