From 63ac877d13fb792188fcf8c01be32e22c7fb7ec8 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Thu, 2 Mar 2017 09:26:51 +0100 Subject: [PATCH] Move HTTP client dependency management to parent pom. Remove dependency management of HTTP clients from dependency BOM to not conflict with declarations of Spring Boot or other BOMs. Closes gh-82. --- pom.xml | 47 +++++++++++++++++++++++- spring-cloud-vault-dependencies/pom.xml | 48 ------------------------- 2 files changed, 46 insertions(+), 49 deletions(-) diff --git a/pom.xml b/pom.xml index c73c1c2d..eaecb9d4 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,7 @@ - + 4.0.0 @@ -39,6 +41,11 @@ UTF-8 1.2.0.BUILD-SNAPSHOT + 4.5.2 + 4.4.5 + 4.1.6.Final + 2.7.5 + 3.5.0 @@ -66,6 +73,44 @@ test-jar test + + + + org.apache.httpcomponents + httpclient + ${httpclient.version} + true + + + commons-logging + commons-logging + + + + + + org.apache.httpcomponents + httpcore + ${httpcore.version} + + + + io.netty + netty-all + ${netty.version} + + + + com.squareup.okhttp + okhttp + ${okhttp.version} + + + + com.squareup.okhttp3 + okhttp + ${okhttp3.version} + diff --git a/spring-cloud-vault-dependencies/pom.xml b/spring-cloud-vault-dependencies/pom.xml index 08df53b4..868d85e2 100644 --- a/spring-cloud-vault-dependencies/pom.xml +++ b/spring-cloud-vault-dependencies/pom.xml @@ -19,11 +19,6 @@ 1.0.0.BUILD-SNAPSHOT - 4.5.2 - 4.4.5 - 4.1.6.Final - 2.7.5 - 3.5.0 @@ -88,49 +83,6 @@ spring-cloud-starter-vault-config ${project.version} - - - - org.apache.httpcomponents - httpclient - ${httpclient.version} - true - - - commons-logging - commons-logging - - - - - - org.apache.httpcomponents - httpcore - ${httpcore.version} - true - - - - io.netty - netty-all - ${netty.version} - true - - - - com.squareup.okhttp - okhttp - ${okhttp.version} - true - - - - com.squareup.okhttp3 - okhttp - ${okhttp3.version} - true - -