From 583b5e05309adb73cdffd974a810d6bfb5f2ff95 Mon Sep 17 00:00:00 2001 From: Aaron Tokhy <tokaaron@amazon.com> Date: Fri, 8 Apr 2016 12:52:25 +0100 Subject: [PATCH] [SPARK-14470] Allow for overriding both httpclient and httpcore versions ## What changes were proposed in this pull request? This splits commons.httpclient.version from commons.httpcore.version, since these two versions do not necessarily have to be the same. This change may follow up with an up-to-date version of the httpclient/httpcore libraries. The latest 4.3.x httpclient version as of writing is 4.3.6 and the latest 4.3.x httpcore version as of writing is 4.3.3. This change would be a prerequisite for potentially moving to this new bugfix version. ## How was this patch tested? no version change was made for httpclient/httpcore versions mvn package Author: Aaron Tokhy <tokaaron@amazon.com> Closes #12245 from atokhy/pull-request. --- pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 66a34e4bdf..1b40983a6c 100644 --- a/pom.xml +++ b/pom.xml @@ -151,6 +151,7 @@ <aws.kinesis.producer.version>0.10.2</aws.kinesis.producer.version> <!-- org.apache.httpcomponents/httpclient--> <commons.httpclient.version>4.3.2</commons.httpclient.version> + <commons.httpcore.version>4.3.2</commons.httpcore.version> <!-- commons-httpclient/commons-httpclient--> <httpclient.classic.version>3.1</httpclient.classic.version> <commons.math3.version>3.4.1</commons.math3.version> @@ -412,7 +413,7 @@ <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifactId> - <version>${commons.httpclient.version}</version> + <version>${commons.httpcore.version}</version> </dependency> <dependency> <groupId>org.seleniumhq.selenium</groupId> -- GitLab