Browse Source

HADOOP-9960. Upgrade Jersey version to 1.9. Contributed by Karthik Kambatla.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1523155 13f79535-47bb-0310-9956-ffa450edef68
Aaron Myers 11 years ago
parent
commit
597c57ba2a
2 changed files with 11 additions and 6 deletions
  1. 2 0
      hadoop-common-project/hadoop-common/CHANGES.txt
  2. 9 6
      hadoop-project/pom.xml

+ 2 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -463,6 +463,8 @@ Release 2.1.1-beta - UNRELEASED
     HADOOP-9958. Add old constructor back to DelegationTokenInformation to
     HADOOP-9958. Add old constructor back to DelegationTokenInformation to
     unbreak downstream builds. (Andrew Wang)
     unbreak downstream builds. (Andrew Wang)
 
 
+    HADOOP-9960. Upgrade Jersey version to 1.9. (Karthik Kambatla via atm)
+
 Release 2.1.0-beta - 2013-08-22
 Release 2.1.0-beta - 2013-08-22
 
 
   INCOMPATIBLE CHANGES
   INCOMPATIBLE CHANGES

+ 9 - 6
hadoop-project/pom.xml

@@ -59,6 +59,9 @@
     <hadoop.common.build.dir>${basedir}/../../hadoop-common-project/hadoop-common/target</hadoop.common.build.dir>
     <hadoop.common.build.dir>${basedir}/../../hadoop-common-project/hadoop-common/target</hadoop.common.build.dir>
     <java.security.egd>file:///dev/urandom</java.security.egd>
     <java.security.egd>file:///dev/urandom</java.security.egd>
 
 
+    <!-- jersey version -->
+    <jersey.version>1.9</jersey.version>
+
     <!-- ProtocolBuffer version, used to verify the protoc version and -->
     <!-- ProtocolBuffer version, used to verify the protoc version and -->
     <!-- define the protobuf JAR version                               -->
     <!-- define the protobuf JAR version                               -->
     <protobuf.version>2.5.0</protobuf.version>
     <protobuf.version>2.5.0</protobuf.version>
@@ -365,12 +368,12 @@
       <dependency>
       <dependency>
         <groupId>com.sun.jersey</groupId>
         <groupId>com.sun.jersey</groupId>
         <artifactId>jersey-core</artifactId>
         <artifactId>jersey-core</artifactId>
-        <version>1.8</version>
+        <version>${jersey.version}</version>
       </dependency>
       </dependency>
       <dependency>
       <dependency>
         <groupId>com.sun.jersey</groupId>
         <groupId>com.sun.jersey</groupId>
         <artifactId>jersey-json</artifactId>
         <artifactId>jersey-json</artifactId>
-        <version>1.8</version>
+        <version>${jersey.version}</version>
         <exclusions>
         <exclusions>
           <exclusion>
           <exclusion>
             <groupId>javax.xml.stream</groupId>
             <groupId>javax.xml.stream</groupId>
@@ -381,7 +384,7 @@
       <dependency>
       <dependency>
         <groupId>com.sun.jersey</groupId>
         <groupId>com.sun.jersey</groupId>
         <artifactId>jersey-server</artifactId>
         <artifactId>jersey-server</artifactId>
-        <version>1.8</version>
+        <version>${jersey.version}</version>
       </dependency>
       </dependency>
 
 
       <dependency>
       <dependency>
@@ -399,19 +402,19 @@
       <dependency>
       <dependency>
         <groupId>com.sun.jersey.contribs</groupId>
         <groupId>com.sun.jersey.contribs</groupId>
         <artifactId>jersey-guice</artifactId>
         <artifactId>jersey-guice</artifactId>
-        <version>1.8</version>
+        <version>${jersey.version}</version>
       </dependency>
       </dependency>
 
 
       <dependency>
       <dependency>
         <groupId>com.sun.jersey.jersey-test-framework</groupId>
         <groupId>com.sun.jersey.jersey-test-framework</groupId>
         <artifactId>jersey-test-framework-core</artifactId>
         <artifactId>jersey-test-framework-core</artifactId>
-        <version>1.8</version>
+        <version>${jersey.version}</version>
         <scope>test</scope>
         <scope>test</scope>
       </dependency>
       </dependency>
       <dependency>
       <dependency>
         <groupId>com.sun.jersey.jersey-test-framework</groupId>
         <groupId>com.sun.jersey.jersey-test-framework</groupId>
         <artifactId>jersey-test-framework-grizzly2</artifactId>
         <artifactId>jersey-test-framework-grizzly2</artifactId>
-        <version>1.8</version>
+        <version>${jersey.version}</version>
       </dependency>
       </dependency>
 
 
       <dependency>
       <dependency>