Thrift-1728:Upgradation of httpcomponents
authorJake Farrell <jfarrell@apache.org>
Fri, 12 Oct 2012 14:44:14 +0000 (14:44 +0000)
committerJake Farrell <jfarrell@apache.org>
Fri, 12 Oct 2012 14:44:14 +0000 (14:44 +0000)
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

lib/java/build.properties
lib/java/build.xml

index a329e77..765cb26 100644 (file)
@@ -23,3 +23,10 @@ maven-repository-id=apache.releases.https
 # Jar Versions 
 mvn.ant.task.version=2.1.3
 
+# Dependency versions
+httpclient.version=4.2.1
+httpcore.version=4.2.2
+slf4j.version=1.5.8
+commons-lang.version=2.5
+servlet.version=2.5
+
index 8b151c5..90b65e9 100644 (file)
       <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 -->