You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jf...@apache.org on 2012/10/12 16:44:15 UTC

svn commit: r1397588 - in /thrift/trunk/lib/java: build.properties build.xml

Author: jfarrell
Date: Fri Oct 12 14:44:14 2012
New Revision: 1397588

URL: http://svn.apache.org/viewvc?rev=1397588&view=rev
Log:
Thrift-1728:Upgradation of httpcomponents
Client: java
Patch: Karthik K

Upgrade java version dependencies and moves versioning into build.properties 


Modified:
    thrift/trunk/lib/java/build.properties
    thrift/trunk/lib/java/build.xml

Modified: thrift/trunk/lib/java/build.properties
URL: http://svn.apache.org/viewvc/thrift/trunk/lib/java/build.properties?rev=1397588&r1=1397587&r2=1397588&view=diff
==============================================================================
--- thrift/trunk/lib/java/build.properties (original)
+++ thrift/trunk/lib/java/build.properties Fri Oct 12 14:44:14 2012
@@ -23,3 +23,10 @@ maven-repository-id=apache.releases.http
 # 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
+

Modified: thrift/trunk/lib/java/build.xml
URL: http://svn.apache.org/viewvc/thrift/trunk/lib/java/build.xml?rev=1397588&r1=1397587&r2=1397588&view=diff
==============================================================================
--- thrift/trunk/lib/java/build.xml (original)
+++ thrift/trunk/lib/java/build.xml Fri Oct 12 14:44:14 2012
@@ -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 -->