summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2020-08-14 15:58:44 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2020-08-14 15:58:44 +0800
commit7befc48719f684048f5975dfe54e5a79c5255f97 (patch)
treeafcdadf7552eacfbb7e7aefcd82721fe377e0295
parentf06f983304bbf793fbafba89fc077d0d7b63aca2 (diff)
Tried to Fix Some Vulnerability Issues (xstream/retrofit)
Change-Id: I931b100606b5a10850d4ba4919c9cd1b15abbfe6 Issue-ID: HOLMES-345 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
-rw-r--r--pom.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index ebe105b..c3cb95c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -149,6 +149,10 @@
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.squareup.retrofit2</groupId>
+ <artifactId>retrofit</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
@@ -206,6 +210,10 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.thoughtworks.xstream</groupId>
+ <artifactId>xstream</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
@@ -257,6 +265,16 @@
<artifactId>gson</artifactId>
<version>2.8.6</version>
</dependency>
+ <dependency>
+ <groupId>com.squareup.retrofit2</groupId>
+ <artifactId>retrofit</artifactId>
+ <version>2.5.0</version>
+ </dependency>
+ <dependency>
+ <groupId>com.thoughtworks.xstream</groupId>
+ <artifactId>xstream</artifactId>
+ <version>1.4.10</version>
+ </dependency>
<!-- Do NOT remove org.reflections:reflections. Otherwise, the docker will fail to start. -->
<dependency>