Thrift-1728:Upgradation of httpcomponents
Client: java
Patch: Karthik K
Upgrade java version dependencies and moves versioning into build.properties
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1397588 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/java/build.xml b/lib/java/build.xml
index 8b151c5..90b65e9 100644
--- a/lib/java/build.xml
+++ b/lib/java/build.xml
@@ -306,11 +306,11 @@
<developer id="jfarrell" name="Jake Farrell"/>
<!-- Thrift dependencies list -->
- <dependency groupId="org.slf4j" artifactId="slf4j-api" version="1.5.8"/>
- <dependency groupId="commons-lang" artifactId="commons-lang" version="2.5"/>
- <dependency groupId="javax.servlet" artifactId="servlet-api" version="2.5" scope="provided"/>
- <dependency groupId="org.apache.httpcomponents" artifactId="httpclient" version="4.1.3"/>
- <dependency groupId="org.apache.httpcomponents" artifactId="httpcore" version="4.1.3"/>
+ <dependency groupId="org.slf4j" artifactId="slf4j-api" version="${slf4j.version}"/>
+ <dependency groupId="commons-lang" artifactId="commons-lang" version="${commons-lang.version}"/>
+ <dependency groupId="javax.servlet" artifactId="servlet-api" version="${servlet.version}" scope="provided"/>
+ <dependency groupId="org.apache.httpcomponents" artifactId="httpclient" version="${httpclient.version}"/>
+ <dependency groupId="org.apache.httpcomponents" artifactId="httpcore" version="${httpcore.version}"/>
</artifact:pom>
<!-- Generate the pom file -->