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

This commit is contained in:
John Zhuge 2017-09-13 20:36:31 -07:00 committed by John Zhuge
parent f40dbc170e
commit 8aca46e53f
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>
@ -147,7 +148,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>
@ -120,7 +120,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>
@ -142,7 +143,7 @@
<dependency>
<groupId>com.squareup.okhttp</groupId>
<artifactId>mockwebserver</artifactId>
<version>2.4.0</version>
<version>${okhttp.version}</version>
<scope>test</scope>
</dependency>
</dependencies>