You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by om...@apache.org on 2011/03/08 05:40:17 UTC

svn commit: r1079153 - in /hadoop/common/branches/yahoo-merge: build.xml ivy.xml ivy/hadoop-common-instrumented-template.xml ivy/hadoop-common-template.xml ivy/hadoop-common-test-template.xml ivy/libraries.properties

Author: omalley
Date: Tue Mar  8 04:40:17 2011
New Revision: 1079153

URL: http://svn.apache.org/viewvc?rev=1079153&view=rev
Log:
commit 7f1412d4fa50f8419d8b4985c937934e86bd341a
Author: Luke Lu <ll...@yahoo-inc.com>
Date:   Wed Dec 15 18:56:34 2010 -0800

     Bump jetty to 6.1.26 for the -1 port issue.
    
    Also refactors dependencies to minimize dups and unused jars

Modified:
    hadoop/common/branches/yahoo-merge/build.xml
    hadoop/common/branches/yahoo-merge/ivy.xml
    hadoop/common/branches/yahoo-merge/ivy/hadoop-common-instrumented-template.xml
    hadoop/common/branches/yahoo-merge/ivy/hadoop-common-template.xml
    hadoop/common/branches/yahoo-merge/ivy/hadoop-common-test-template.xml
    hadoop/common/branches/yahoo-merge/ivy/libraries.properties

Modified: hadoop/common/branches/yahoo-merge/build.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/yahoo-merge/build.xml?rev=1079153&r1=1079152&r2=1079153&view=diff
==============================================================================
--- hadoop/common/branches/yahoo-merge/build.xml (original)
+++ hadoop/common/branches/yahoo-merge/build.xml Tue Mar  8 04:40:17 2011
@@ -1445,8 +1445,9 @@
   </target>  
 
   <target name="veryclean" depends="clean" description="Delete mvn ant task jar and ivy ant taks jar">
-    <delete file="${ant_task.jar}"/>
-    <delete file="${ivy.jar}"/>
+    <delete>
+      <fileset dir="${ivy.dir}" includes="*.jar"/>
+    </delete>
   </target>
 
   <!-- ================================================================== -->

Modified: hadoop/common/branches/yahoo-merge/ivy.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/yahoo-merge/ivy.xml?rev=1079153&r1=1079152&r2=1079153&view=diff
==============================================================================
--- hadoop/common/branches/yahoo-merge/ivy.xml (original)
+++ hadoop/common/branches/yahoo-merge/ivy.xml Tue Mar  8 04:40:17 2011
@@ -48,12 +48,12 @@
     <conf name="kfs" description="dependencies for KFS file system support"/>
     <conf name="ftp" description="dependencies for workign with FTP filesytems" 
               extends="mandatory"/>
-   <conf name="jetty" description="Jetty provides the in-VM HTTP daemon" extends="commons-logging"/>
+    <conf name="jetty" description="Jetty provides the in-VM HTTP daemon" extends="commons-logging"/>
 
-   <conf name="common" extends="runtime,mandatory,httpclient,ftp,jetty,jdiff"
-		      description="common artifacts"/>
+    <conf name="common" extends="runtime,mandatory,httpclient,ftp,jetty,jdiff"
+                        description="common artifacts"/>
     <!--Testing pulls in everything-->
-   <conf name="test" extends="master,common" description="the classpath needed to run tests"/>
+    <conf name="test" extends="master,common" description="the classpath needed to run tests"/>
 
     <!--Private configurations. -->
 
@@ -99,16 +99,6 @@
 
     <!--Configuration: httpclient-->
 
-    <!--
-    commons-httpclient asks for too many files.
-    All it needs is commons-codec and commons-logging JARs
-    -->
-    <dependency org="commons-httpclient"
-      name="commons-httpclient"
-      rev="${commons-httpclient.version}"
-      conf="httpclient->master">
-    </dependency>
-
     <dependency org="commons-codec"
       name="commons-codec"
       rev="${commons-codec.version}"
@@ -120,19 +110,12 @@
       conf="ftp->default"/>
 
     <!--Configuration: Jetty -->
-
-<!-- <dependency org="javax.servlet"
-      name="servlet-api"
-      rev="${servlet-api.version}"
-      conf="jetty->master"/>   -->
     <dependency org="org.mortbay.jetty"
       name="jetty"
       rev="${jetty.version}"
-      conf="jetty->master"/>
-    <dependency org="org.mortbay.jetty"
-      name="jetty-util"
-      rev="${jetty-util.version}"
-      conf="jetty->master"/>
+      conf="jetty->default">
+      <exclude module="ant"/>
+    </dependency>
 
     <dependency org="tomcat"
       name="jasper-runtime"
@@ -143,13 +126,9 @@
       rev="${jasper.version}"
       conf="jetty->master"/>
     <dependency org="org.mortbay.jetty"
-      name="jsp-api-2.1"
-      rev="${jetty.version}"
-      conf="jetty->master"/>
-    <dependency org="org.mortbay.jetty"
-      name="jsp-2.1"
+      name="jsp-2.1-jetty"
       rev="${jetty.version}"
-      conf="jetty->master"/>
+      conf="jetty->default"/>
     <dependency org="commons-el"
       name="commons-el"
       rev="${commons-el.version}"
@@ -182,15 +161,11 @@
     <dependency org="net.java.dev.jets3t"
       name="jets3t"
       rev="${jets3t.version}"
-      conf="s3-client->master"/>
+      conf="s3-client->default"/>
     <dependency org="commons-net"
       name="commons-net"
       rev="${commons-net.version}"
       conf="s3-client->master"/> 
-    <dependency org="org.mortbay.jetty"
-      name="servlet-api-2.5"
-      rev="${servlet-api-2.5.version}"
-      conf="s3-client->master"/>
     <dependency org="net.sf.kosmosfs"
       name="kfs"
       rev="${kfs.version}"
@@ -199,27 +174,10 @@
     <!--Configuration: test -->
     <!--artifacts needed for testing -->
 
-    <dependency org="org.apache.ftpserver"
-      name="ftplet-api"
-      rev="${ftplet-api.version}"
-      conf="test->default"/>
-    <dependency org="org.apache.mina"
-      name="mina-core"
-      rev="${mina-core.version}"
-      conf="test->default"/>
-    <dependency org="org.apache.ftpserver"
-      name="ftpserver-core"
-      rev="${ftpserver-core.version}"
-      conf="test->default"/>
-    <dependency org="org.apache.ftpserver"
-      name="ftpserver-deprecated"
-      rev="${ftpserver-deprecated.version}"
-      conf="test->default"/>
-
     <dependency org="junit"
       name="junit"
       rev="${junit.version}"
-      conf="common->default"/>
+      conf="test->default"/>
     <dependency org="org.apache.rat"
       name="apache-rat-tasks"
       rev="${rats-lib.version}"
@@ -252,10 +210,6 @@
       name="core"
       rev="${core.version}"
       conf="common->master"/>
-    <dependency org="oro"
-      name="oro"
-      rev="${oro.version}"
-      conf="common->default"/>
     <dependency org="org.slf4j"
       name="slf4j-log4j12"
       rev="${slf4j-log4j12.version}"
@@ -268,19 +222,9 @@
       <exclude module="ant"/>
       <exclude module="jetty"/>
       <exclude module="slf4j-simple"/>
+      <exclude module="velocity"/>
+      <exclude module="netty" />
     </dependency>
-    <dependency org="org.codehaus.jackson"
-      name="jackson-mapper-asl"
-      rev="${jackson.version}"
-      conf="common->default"/> 
-    <dependency org="com.thoughtworks.paranamer"
-      name="paranamer"
-      rev="${paranamer.version}"
-      conf="common->default"/>
-    <dependency org="com.thoughtworks.paranamer"
-      name="paranamer-ant"
-      rev="${paranamer.version}"
-      conf="common->default"/>
     <dependency org="org.aspectj"
       name="aspectjrt"
       rev="${aspectj.version}"
@@ -294,7 +238,7 @@
     <dependency org="org.mockito" 
       name="mockito-all" 
       rev="${mockito-all.version}" 
-      conf="common->default">
+      conf="test->default">
     </dependency> 
     <dependency org="com.jcraft"
       name="jsch"

Modified: hadoop/common/branches/yahoo-merge/ivy/hadoop-common-instrumented-template.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/yahoo-merge/ivy/hadoop-common-instrumented-template.xml?rev=1079153&r1=1079152&r2=1079153&view=diff
==============================================================================
--- hadoop/common/branches/yahoo-merge/ivy/hadoop-common-instrumented-template.xml (original)
+++ hadoop/common/branches/yahoo-merge/ivy/hadoop-common-instrumented-template.xml Tue Mar  8 04:40:17 2011
@@ -23,117 +23,20 @@
   <packaging>jar</packaging>
   <version>@version</version>
   <dependencies>
-   <dependency>
-      <groupId>commons-cli</groupId>
-      <artifactId>commons-cli</artifactId>
-      <version>1.2</version>
-    </dependency>
-   <dependency>
-      <groupId>xmlenc</groupId>
-      <artifactId>xmlenc</artifactId>
-      <version>0.52</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-httpclient</groupId>
-      <artifactId>commons-httpclient</artifactId>
-      <version>3.1</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-codec</groupId>
-      <artifactId>commons-codec</artifactId>
-      <version>1.4</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-net</groupId>
-      <artifactId>commons-net</artifactId>
-      <version>1.4.1</version>
-    </dependency>
-    <dependency>
-      <groupId>org.mortbay.jetty</groupId>
-      <artifactId>jetty</artifactId>
-      <version>6.1.14</version>
-    </dependency>
-    <dependency>
-      <groupId>org.mortbay.jetty</groupId>
-      <artifactId>jetty-util</artifactId>
-      <version>6.1.14</version>
-    </dependency>
-    <dependency>
-      <groupId>tomcat</groupId>
-      <artifactId>jasper-runtime</artifactId>
-      <version>5.5.12</version>
-    </dependency>
-    <dependency>
-      <groupId>tomcat</groupId>
-      <artifactId>jasper-compiler</artifactId>
-      <version>5.5.12</version>
-    </dependency>
-    <dependency>
-      <groupId>org.mortbay.jetty</groupId>
-      <artifactId>jsp-api-2.1</artifactId>
-      <version>6.1.14</version>
-    </dependency>
-    <dependency>
-      <groupId>org.mortbay.jetty</groupId>
-      <artifactId>jsp-2.1</artifactId>
-      <version>6.1.14</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-el</groupId>
-      <artifactId>commons-el</artifactId>
-      <version>1.0</version>
-    </dependency>
-    <dependency>
-      <groupId>net.java.dev.jets3t</groupId>
-      <artifactId>jets3t</artifactId>
-      <version>0.7.1</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-net</groupId>
-      <artifactId>commons-net</artifactId>
-      <version>1.4.1</version>
-    </dependency>
     <dependency>
-      <groupId>org.mortbay.jetty</groupId>
-      <artifactId>servlet-api-2.5</artifactId>
-      <version>6.1.14</version>
-    </dependency>
-    <dependency>
-      <groupId>net.sf.kosmosfs</groupId>
-      <artifactId>kfs</artifactId>
-      <version>0.3</version>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>4.8.1</version>
-    </dependency>
-    <dependency>
-      <groupId>hsqldb</groupId>
-      <artifactId>hsqldb</artifactId>
-      <version>1.8.0.10</version>
+      <groupId>org.apache.hadoop</groupId>
+      <artifactId>hadoop-common</artifactId>
+      <version>@version</version>
     </dependency>
     <dependency>
-      <groupId>oro</groupId>
-      <artifactId>oro</artifactId>
-      <version>2.0.8</version>
+      <groupId>org.aspectj</groupId>
+      <artifactId>aspectjrt</artifactId>
+      <version>1.6.5</version>
     </dependency>
     <dependency>
-      <groupId>org.apache.hadoop</groupId>
-      <artifactId>avro</artifactId>
-      <version>1.3.2</version>
-      <exclusions>
-        <exclusion>
-          <!-- Don't pull in Avro's (later) version of Jetty.-->
-          <groupId>org.mortbay.jetty</groupId>
-          <artifactId>jetty</artifactId>
-        </exclusion>
-        <exclusion>
-          <!-- Exclude Avro's version of ant since it conflicts with Jetty's.-->
-          <groupId>org.apache.ant</groupId>
-          <artifactId>ant</artifactId>
-        </exclusion>
-      </exclusions>
+      <groupId>org.aspectj</groupId>
+      <artifactId>aspectjtools</artifactId>
+      <version>1.6.5</version>
     </dependency>
   </dependencies>
 </project>

Modified: hadoop/common/branches/yahoo-merge/ivy/hadoop-common-template.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/yahoo-merge/ivy/hadoop-common-template.xml?rev=1079153&r1=1079152&r2=1079153&view=diff
==============================================================================
--- hadoop/common/branches/yahoo-merge/ivy/hadoop-common-template.xml (original)
+++ hadoop/common/branches/yahoo-merge/ivy/hadoop-common-template.xml Tue Mar  8 04:40:17 2011
@@ -23,40 +23,45 @@
   <packaging>jar</packaging>
   <version>@version</version>
   <dependencies>
-   <dependency>
+    <dependency>
       <groupId>commons-cli</groupId>
       <artifactId>commons-cli</artifactId>
       <version>1.2</version>
     </dependency>
-   <dependency>
+    <dependency>
       <groupId>xmlenc</groupId>
       <artifactId>xmlenc</artifactId>
       <version>0.52</version>
     </dependency>
     <dependency>
-      <groupId>commons-httpclient</groupId>
-      <artifactId>commons-httpclient</artifactId>
-      <version>3.1</version>
-    </dependency>
-    <dependency>
       <groupId>commons-codec</groupId>
       <artifactId>commons-codec</artifactId>
       <version>1.4</version>
     </dependency>
     <dependency>
-      <groupId>commons-net</groupId>
-      <artifactId>commons-net</artifactId>
-      <version>1.4.1</version>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <version>1.1.1</version>
     </dependency>
     <dependency>
-      <groupId>org.mortbay.jetty</groupId>
-      <artifactId>jetty</artifactId>
-      <version>6.1.14</version>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+      <version>1.6.1</version>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-log4j12</artifactId>
+      <version>1.6.1</version>
+    </dependency>
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <version>1.2.16</version>
     </dependency>
     <dependency>
       <groupId>org.mortbay.jetty</groupId>
-      <artifactId>jetty-util</artifactId>
-      <version>6.1.14</version>
+      <artifactId>jetty</artifactId>
+      <version>6.1.26</version>
     </dependency>
     <dependency>
       <groupId>tomcat</groupId>
@@ -70,13 +75,14 @@
     </dependency>
     <dependency>
       <groupId>org.mortbay.jetty</groupId>
-      <artifactId>jsp-api-2.1</artifactId>
-      <version>6.1.14</version>
-    </dependency>
-    <dependency>
-      <groupId>org.mortbay.jetty</groupId>
-      <artifactId>jsp-2.1</artifactId>
-      <version>6.1.14</version>
+      <artifactId>jsp-2.1-jetty</artifactId>
+      <version>6.1.26</version>
+      <exclusions>
+        <exclusion>
+          <groupId>ant</groupId>
+          <artifactId>ant</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>commons-el</groupId>
@@ -94,45 +100,36 @@
       <version>1.4.1</version>
     </dependency>
     <dependency>
-      <groupId>org.mortbay.jetty</groupId>
-      <artifactId>servlet-api-2.5</artifactId>
-      <version>6.1.14</version>
-    </dependency>
-    <dependency>
       <groupId>net.sf.kosmosfs</groupId>
       <artifactId>kfs</artifactId>
       <version>0.3</version>
     </dependency>
     <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>4.8.1</version>
-    </dependency>
-    <dependency>
       <groupId>hsqldb</groupId>
       <artifactId>hsqldb</artifactId>
       <version>1.8.0.10</version>
     </dependency>
     <dependency>
-      <groupId>oro</groupId>
-      <artifactId>oro</artifactId>
-      <version>2.0.8</version>
-    </dependency>
-    <dependency>
       <groupId>org.apache.avro</groupId>
       <artifactId>avro</artifactId>
       <version>1.4.1</version>
       <exclusions>
         <exclusion>
-          <!-- Don't pull in Avro's (later) version of Jetty.-->
           <groupId>org.mortbay.jetty</groupId>
           <artifactId>jetty</artifactId>
         </exclusion>
         <exclusion>
-          <!-- Exclude Avro's version of ant since it conflicts with Jetty's.-->
-          <groupId>org.apache.ant</groupId>
+          <groupId>org.apache.tools.ant</groupId>
           <artifactId>ant</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>org.jboss.netty</groupId>
+          <artifactId>netty</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.apache.velocity</groupId>
+          <artifactId>velocity</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
     <dependency>

Modified: hadoop/common/branches/yahoo-merge/ivy/hadoop-common-test-template.xml
URL: http://svn.apache.org/viewvc/hadoop/common/branches/yahoo-merge/ivy/hadoop-common-test-template.xml?rev=1079153&r1=1079152&r2=1079153&view=diff
==============================================================================
--- hadoop/common/branches/yahoo-merge/ivy/hadoop-common-test-template.xml (original)
+++ hadoop/common/branches/yahoo-merge/ivy/hadoop-common-test-template.xml Tue Mar  8 04:40:17 2011
@@ -30,24 +30,9 @@
       <version>@version</version>
     </dependency>
     <dependency>
-      <groupId>org.apache.ftpserver</groupId>
-      <artifactId>ftplet-api</artifactId>
-      <version>1.0.0</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.mina</groupId>
-      <artifactId>mina-core</artifactId>
-      <version>2.0.0-M5</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.ftpserver</groupId>
-      <artifactId>ftpserver-core</artifactId>
-      <version>1.0.0</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.ftpserver</groupId>
-      <artifactId>ftpserver-deprecated</artifactId>
-      <version>1.0.0-M2</version>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.8.1</version>
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>

Modified: hadoop/common/branches/yahoo-merge/ivy/libraries.properties
URL: http://svn.apache.org/viewvc/hadoop/common/branches/yahoo-merge/ivy/libraries.properties?rev=1079153&r1=1079152&r2=1079153&view=diff
==============================================================================
--- hadoop/common/branches/yahoo-merge/ivy/libraries.properties (original)
+++ hadoop/common/branches/yahoo-merge/ivy/libraries.properties Tue Mar  8 04:40:17 2011
@@ -15,17 +15,14 @@
 
 #These are the versions of our dependencies (in alphabetical order)
 ant-task.version=2.0.10
-
+aspectj.version=1.6.5
 avro.version=1.4.1
 
 checkstyle.version=4.2
-
 commons-cli.version=1.2
-commons-cli2.version=2.0-mahout
 commons-codec.version=1.4
 commons-collections.version=3.1
 commons-configuration.version=1.6
-commons-httpclient.version=3.1
 commons-lang.version=2.5
 commons-logging.version=1.1.1
 commons-logging-api.version=1.1
@@ -35,53 +32,31 @@ commons-io.version=1.4
 commons-math.version=2.1
 commons-net.version=1.4.1
 core.version=3.1.1
-coreplugin.version=1.3.2
-
-ftplet-api.version=1.0.0
-ftpserver-core.version=1.0.0
-ftpserver-deprecated.version=1.0.0-M2
 
 guava.version=r07
 
 hsqldb.version=1.8.0.10
 
-ivy.version=2.1.0
+ivy.version=2.2.0
 
 jasper.version=5.5.12
-jsp.version=2.1
-jsp-api.version=5.5.12
 jets3t.version=0.7.1
-jetty.version=6.1.14
-jetty-util.version=6.1.14
+jetty.version=6.1.26
 junit.version=4.8.1
 jdiff.version=1.0.9
-json.version=1.0
+jsch.version=0.1.42
 
 kfs.version=0.3
 
-log4j.version=1.2.15
+log4j.version=1.2.16
 lucene-core.version=2.3.1
 
-mina-core.version=2.0.0-M5
-
-oro.version=2.0.8
+mockito-all.version=1.8.5
 
 rats-lib.version=0.6
 
-servlet.version=4.0.6
-servlet-api-2.5.version=6.1.14
-servlet-api.version=2.5
-slf4j-api.version=1.5.11
-slf4j-log4j12.version=1.5.11
-
-wagon-http.version=1.0-beta-2
+slf4j-api.version=1.6.1
+slf4j-log4j12.version=1.6.1
 
 xmlenc.version=0.52
 xerces.version=1.4.4
-
-aspectj.version=1.6.5
-
-mockito-all.version=1.8.5
-
-jsch.version=0.1.42
-