You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2020/09/16 12:34:04 UTC

[skywalking-agent-test-tool] branch master updated: Update pom.xml to support compilation under JDK1.9 (#24)

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-agent-test-tool.git


The following commit(s) were added to refs/heads/master by this push:
     new 4677856  Update pom.xml to support compilation under JDK1.9 (#24)
4677856 is described below

commit 46778565b1c4d25a55a07cd8f7c246d14de22322
Author: harvies <de...@gmail.com>
AuthorDate: Wed Sep 16 20:33:54 2020 +0800

    Update pom.xml to support compilation under JDK1.9 (#24)
    
    Support jdk1.9
---
 mock-collector/pom.xml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/mock-collector/pom.xml b/mock-collector/pom.xml
index 95a36d0..eb4f75e 100644
--- a/mock-collector/pom.xml
+++ b/mock-collector/pom.xml
@@ -187,4 +187,19 @@
             </plugin>
         </plugins>
     </build>
+    <profiles>
+        <profile>
+            <id>java9</id>
+            <activation>
+                <jdk>[1.9,]</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
+    </profiles>
 </project>