HADOOP-14651. Update okhttp version to 2.7.5. Contributed by Ray Chiang and John Zhuge.

(cherry picked from commit 8aca46e53f)
This commit is contained in:
Steve Loughran 2018-04-02 16:38:19 +01:00
parent 8266696aa3
commit a3945e4cf1
2 changed files with 6 additions and 4 deletions

View File

@ -102,6 +102,7 @@
<ehcache.version>3.3.1</ehcache.version>
<hikari.version>2.4.12</hikari.version>
<mssql.version>6.2.1.jre7</mssql.version>
<okhttp.version>2.7.5</okhttp.version>
<!-- define the Java language version used by the compiler -->
<javac.version>1.8</javac.version>
@ -148,7 +149,7 @@
<dependency>
<groupId>com.squareup.okhttp</groupId>
<artifactId>okhttp</artifactId>
<version>2.4.0</version>
<version>${okhttp.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>

View File

@ -29,7 +29,7 @@
</description>
<packaging>jar</packaging>
<properties>
<okHttpVersion>2.4.0</okHttpVersion>
<okHttpVersion>${okhttp.version}</okHttpVersion>
<minimalJsonVersion>0.9.1</minimalJsonVersion>
<file.encoding>UTF-8</file.encoding>
<downloadSources>true</downloadSources>
@ -121,7 +121,8 @@
<dependency>
<groupId>com.squareup.okhttp</groupId>
<artifactId>okhttp</artifactId>
<version>2.4.0</version>
<version>${okhttp.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
@ -143,7 +144,7 @@
<dependency>
<groupId>com.squareup.okhttp</groupId>
<artifactId>mockwebserver</artifactId>
<version>2.4.0</version>
<version>${okhttp.version}</version>
<scope>test</scope>
</dependency>
</dependencies>