You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tr...@apache.org on 2020/03/18 15:53:27 UTC

[flink] 01/02: [FLINK-16635] Remove pinned dependency for okio and okhttp from flink-metrics-influxdb

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

trohrmann pushed a commit to branch release-1.10
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 2fc3667b1ea514bfeb67556fcb5832f0de87261d
Author: Till Rohrmann <tr...@apache.org>
AuthorDate: Tue Mar 17 12:11:43 2020 +0100

    [FLINK-16635] Remove pinned dependency for okio and okhttp from flink-metrics-influxdb
    
    With FLINK-12147 we bumped the influxdb-java version from 2.14 to 2.16. At the same
    time we still have okio and okhttp fixed to an incompatible version. This commit
    removes the dependency management entries for these dependencies so that the
    influxdb reporter bundles the correct dependencies.
---
 flink-metrics/flink-metrics-influxdb/pom.xml              | 15 ---------------
 .../src/main/resources/META-INF/NOTICE                    |  4 ++--
 2 files changed, 2 insertions(+), 17 deletions(-)

diff --git a/flink-metrics/flink-metrics-influxdb/pom.xml b/flink-metrics/flink-metrics-influxdb/pom.xml
index cd99a17..dd1b9a4 100644
--- a/flink-metrics/flink-metrics-influxdb/pom.xml
+++ b/flink-metrics/flink-metrics-influxdb/pom.xml
@@ -90,21 +90,6 @@ under the License.
 		</dependency>
 	</dependencies>
 
-	<dependencyManagement>
-		<dependencies>
-			<dependency>
-				<groupId>com.squareup.okhttp3</groupId>
-				<artifactId>okhttp</artifactId>
-				<version>3.11.0</version>
-			</dependency>
-			<dependency>
-				<groupId>com.squareup.okio</groupId>
-				<artifactId>okio</artifactId>
-				<version>1.14.0</version>
-			</dependency>
-		</dependencies>
-	</dependencyManagement>
-
 	<build>
 		<plugins>
 			<plugin>
diff --git a/flink-metrics/flink-metrics-influxdb/src/main/resources/META-INF/NOTICE b/flink-metrics/flink-metrics-influxdb/src/main/resources/META-INF/NOTICE
index ad79869..2cca565 100644
--- a/flink-metrics/flink-metrics-influxdb/src/main/resources/META-INF/NOTICE
+++ b/flink-metrics/flink-metrics-influxdb/src/main/resources/META-INF/NOTICE
@@ -8,8 +8,8 @@ This project bundles the following dependencies under the Apache Software Licens
 
 - com.squareup.moshi:moshi:1.5.0
 - com.squareup.okhttp3:logging-interceptor:3.11.0
-- com.squareup.okhttp3:okhttp:3.11.0
-- com.squareup.okio:okio:1.14.0
+- com.squareup.okhttp3:okhttp:3.14.3
+- com.squareup.okio:okio:1.17.2
 - com.squareup.retrofit2:converter-moshi:2.4.0
 - com.squareup.retrofit2:retrofit:2.4.0