From b715ceacf073fc7b8368517de0a96770e5a364cb Mon Sep 17 00:00:00 2001 From: Jason Joo Date: Mon, 23 Mar 2020 22:26:56 +0800 Subject: [PATCH] Fix CI failure in JDK 11 environment (#1360) * Supplement missing javax.annotation-api to sentinel-cluster-server-envoy-rls and sentinel-demo-zuul2-gateway * Upgrade mockito-core to 2.28.2 (up to date) --- pom.xml | 3 ++- sentinel-adapter/sentinel-grpc-adapter/pom.xml | 2 +- sentinel-cluster/sentinel-cluster-server-envoy-rls/pom.xml | 5 +++++ sentinel-demo/sentinel-demo-zuul2-gateway/pom.xml | 5 +++++ 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 646b4fa3..c9936615 100755 --- a/pom.xml +++ b/pom.xml @@ -42,10 +42,11 @@ 1.2.62 + 1.3.2 4.12 - 2.21.0 + 2.28.2 3.12.1 3.1.5 2.0.0 diff --git a/sentinel-adapter/sentinel-grpc-adapter/pom.xml b/sentinel-adapter/sentinel-grpc-adapter/pom.xml index 7f4f9f13..05add497 100755 --- a/sentinel-adapter/sentinel-grpc-adapter/pom.xml +++ b/sentinel-adapter/sentinel-grpc-adapter/pom.xml @@ -43,7 +43,7 @@ javax.annotation javax.annotation-api - 1.2 + ${javax.annotation-api.version} diff --git a/sentinel-cluster/sentinel-cluster-server-envoy-rls/pom.xml b/sentinel-cluster/sentinel-cluster-server-envoy-rls/pom.xml index 3c84641c..e967f7ab 100644 --- a/sentinel-cluster/sentinel-cluster-server-envoy-rls/pom.xml +++ b/sentinel-cluster/sentinel-cluster-server-envoy-rls/pom.xml @@ -35,6 +35,11 @@ com.alibaba.csp sentinel-transport-simple-http + + javax.annotation + javax.annotation-api + ${javax.annotation-api.version} + io.grpc diff --git a/sentinel-demo/sentinel-demo-zuul2-gateway/pom.xml b/sentinel-demo/sentinel-demo-zuul2-gateway/pom.xml index 01e562a7..525a65dd 100644 --- a/sentinel-demo/sentinel-demo-zuul2-gateway/pom.xml +++ b/sentinel-demo/sentinel-demo-zuul2-gateway/pom.xml @@ -26,6 +26,11 @@ zuul-core 2.1.5 + + javax.annotation + javax.annotation-api + ${javax.annotation-api.version} + org.slf4j