Selaa lähdekoodia

HADOOP-15584. Move httpcomponents versions in pom.xml. Contributed by Brandon Scheller.

Akira Ajisaka 6 vuotta sitten
vanhempi
commit
76d0365190
1 muutettua tiedostoa jossa 6 lisäystä ja 2 poistoa
  1. 6 2
      hadoop-project/pom.xml

+ 6 - 2
hadoop-project/pom.xml

@@ -71,6 +71,10 @@
     <jackson.version>1.9.13</jackson.version>
     <jackson2.version>2.9.5</jackson2.version>
 
+    <!-- httpcomponents versions -->
+    <httpclient.version>4.5.2</httpclient.version>
+    <httpcore.version>4.4.4</httpcore.version>
+
     <!-- SLF4J version -->
     <slf4j.version>1.7.25</slf4j.version>
 
@@ -732,12 +736,12 @@
       <dependency>
         <groupId>org.apache.httpcomponents</groupId>
         <artifactId>httpclient</artifactId>
-        <version>4.5.2</version>
+        <version>${httpclient.version}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.httpcomponents</groupId>
         <artifactId>httpcore</artifactId>
-        <version>4.4.4</version>
+        <version>${httpcore.version}</version>
       </dependency>
       <dependency>
         <groupId>commons-codec</groupId>