hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkesa...@apache.org
Subject svn commit: r1155123 - in /hadoop/common/trunk/hdfs: CHANGES.txt build.xml ivy.xml ivy/ivysettings.xml ivy/libraries.properties src/contrib/build-contrib.xml src/contrib/fuse-dfs/ivy.xml
Date Mon, 08 Aug 2011 22:09:29 GMT
Author: gkesavan
Date: Mon Aug  8 22:09:28 2011
New Revision: 1155123

URL: http://svn.apache.org/viewvc?rev=1155123&view=rev
Log:
HDFS-2230. Fix ivy conf to resolve/retrieve latest common-tests jar published by hadoop common
maven build. (gkesavan)

Modified:
    hadoop/common/trunk/hdfs/CHANGES.txt
    hadoop/common/trunk/hdfs/build.xml
    hadoop/common/trunk/hdfs/ivy.xml
    hadoop/common/trunk/hdfs/ivy/ivysettings.xml
    hadoop/common/trunk/hdfs/ivy/libraries.properties
    hadoop/common/trunk/hdfs/src/contrib/build-contrib.xml
    hadoop/common/trunk/hdfs/src/contrib/fuse-dfs/ivy.xml

Modified: hadoop/common/trunk/hdfs/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hdfs/CHANGES.txt?rev=1155123&r1=1155122&r2=1155123&view=diff
==============================================================================
--- hadoop/common/trunk/hdfs/CHANGES.txt (original)
+++ hadoop/common/trunk/hdfs/CHANGES.txt Mon Aug  8 22:09:28 2011
@@ -646,6 +646,9 @@ Trunk (unreleased changes)
 
     HDFS-2238. In NamenodeFsck.toString(), uses StringBuilder.(..) instead of
     string concatenation.  (Uma Maheswara Rao G via szetszwo)
+   
+    HDFS-2230. ivy to resolve/retrieve latest common-tests jar published by 
+    hadoop common maven build. (gkesavan)
 
   OPTIMIZATIONS
 

Modified: hadoop/common/trunk/hdfs/build.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hdfs/build.xml?rev=1155123&r1=1155122&r2=1155123&view=diff
==============================================================================
--- hadoop/common/trunk/hdfs/build.xml (original)
+++ hadoop/common/trunk/hdfs/build.xml Mon Aug  8 22:09:28 2011
@@ -180,7 +180,7 @@
   <property name="hadoop-hdfs-test.pom" location="${ivy.dir}/hadoop-hdfs-test.xml"/>
 
   <!--this is the naming policy for artifacts we want pulled down-->
-  <property name="ivy.artifact.retrieve.pattern" value="${ant.project.name}/[conf]/[artifact]-[revision].[ext]"/>
+  <property name="ivy.artifact.retrieve.pattern" value="${ant.project.name}/[conf]/[artifact]-[revision](-[classifier]).[ext]"/>
 
   <!--this is how artifacts that get built are named-->
   <property name="ivy.publish.pattern" value="hadoop-hdfs-[revision].[ext]"/>
@@ -247,8 +247,8 @@
     <pathelement location="${build.tools}"/>
     <pathelement path="${clover.jar}"/>
     <path refid="ivy-test.classpath"/>
-    <fileset dir="${lib.dir}">
-      <include name="hadoop-common-test-${hadoop-common.version}.jar" />
+    <fileset dir="${test.ivy.lib.dir}">
+      <include name="hadoop-common-${hadoop-common.version}-tests.jar" />
       <exclude name="**/excluded/" />
     </fileset>
     <pathelement location="${build.classes}"/>

Modified: hadoop/common/trunk/hdfs/ivy.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hdfs/ivy.xml?rev=1155123&r1=1155122&r2=1155123&view=diff
==============================================================================
--- hadoop/common/trunk/hdfs/ivy.xml (original)
+++ hadoop/common/trunk/hdfs/ivy.xml Mon Aug  8 22:09:28 2011
@@ -15,7 +15,7 @@
    limitations under the License.
 -->
 
-<ivy-module version="1.0">
+<ivy-module version="1.0" xmlns:m="http://ant.apache.org/ivy/maven">
   <info organisation="org.apache.hadoop" module="${ant.project.name}" revision="${version}">
     <license name="Apache 2.0"/>
     <ivyauthor name="Apache Hadoop Team" url="http://hadoop.apache.org"/>
@@ -86,7 +86,9 @@
 
     <dependency org="org.slf4j" name="slf4j-api" rev="${slf4j-api.version}" conf="test->master"/>
     <dependency org="org.slf4j" name="slf4j-log4j12" rev="${slf4j-log4j12.version}" conf="test->master"/>
-    <dependency org="org.apache.hadoop" name="hadoop-common-test" rev="${hadoop-common.version}"
conf="test->master"/>
+    <dependency org="org.apache.hadoop" name="hadoop-common" rev="${hadoop-common.version}"
conf="test->master">
+      <artifact name="hadoop-common" type="tests" ext="jar" m:classifier="tests"/>
+    </dependency> 
 
     <dependency org="checkstyle" name="checkstyle" rev="${checkstyle.version}" conf="checkstyle->default"/>
 

Modified: hadoop/common/trunk/hdfs/ivy/ivysettings.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hdfs/ivy/ivysettings.xml?rev=1155123&r1=1155122&r2=1155123&view=diff
==============================================================================
--- hadoop/common/trunk/hdfs/ivy/ivysettings.xml (original)
+++ hadoop/common/trunk/hdfs/ivy/ivysettings.xml Mon Aug  8 22:09:28 2011
@@ -31,7 +31,8 @@
   -->
   <property name="repo.maven.org" value="http://repo1.maven.org/maven2/" override="false"/>
   <property name="snapshot.apache.org" value="https://repository.apache.org/content/repositories/snapshots/"
override="false"/>
-  <property name="maven2.pattern" value="[organisation]/[module]/[revision]/[module]-[revision]"/>
+  <property name="maven2.pattern" value="[organisation]/[module]/[revision]/[module]-[revision](-[classifier])"/>
+
   <property name="repo.dir" value="${user.home}/.m2/repository"/>
   <property name="maven2.pattern.ext"  value="${maven2.pattern}.[ext]"/>
   <property name="resolvers" value="default" override="false"/>
@@ -41,10 +42,11 @@
   <resolvers>
     <ibiblio name="maven2" root="${repo.maven.org}" pattern="${maven2.pattern.ext}" m2compatible="true"/>
     <ibiblio name="apache-snapshot" root="${snapshot.apache.org}" m2compatible="true"
-        checkmodified="true" changingPattern=".*SNAPSHOT"/>
+        checkmodified="true" changingPattern=".*SNAPSHOT" />
+      
 
     <filesystem name="fs" m2compatible="true" force="${force-resolve}">
-       <artifact pattern="${repo.dir}/[organisation]/[module]/[revision]/[module]-[revision].[ext]"/>
+       <artifact pattern="${repo.dir}/${maven2.pattern.ext}"/>
        <ivy pattern="${repo.dir}/[organisation]/[module]/[revision]/[module]-[revision].pom"/>
     </filesystem>
 

Modified: hadoop/common/trunk/hdfs/ivy/libraries.properties
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hdfs/ivy/libraries.properties?rev=1155123&r1=1155122&r2=1155123&view=diff
==============================================================================
--- hadoop/common/trunk/hdfs/ivy/libraries.properties (original)
+++ hadoop/common/trunk/hdfs/ivy/libraries.properties Mon Aug  8 22:09:28 2011
@@ -41,7 +41,7 @@ hadoop-hdfs.version=0.23.0-SNAPSHOT
 
 hsqldb.version=1.8.0.10
 
-ivy.version=2.1.0
+ivy.version=2.2.0-rc1
 
 jasper.version=5.5.12
 jdeb.version=0.8

Modified: hadoop/common/trunk/hdfs/src/contrib/build-contrib.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hdfs/src/contrib/build-contrib.xml?rev=1155123&r1=1155122&r2=1155123&view=diff
==============================================================================
--- hadoop/common/trunk/hdfs/src/contrib/build-contrib.xml (original)
+++ hadoop/common/trunk/hdfs/src/contrib/build-contrib.xml Mon Aug  8 22:09:28 2011
@@ -82,7 +82,7 @@
 
   <!--this is the naming policy for artifacts we want pulled down-->
   <property name="ivy.artifact.retrieve.pattern"
-    			value="${ant.project.name}/[conf]/[artifact]-[revision].[ext]"/>
+    			value="${ant.project.name}/[conf]/[artifact]-[revision](-[classifier]).[ext]"/>
 
   <!-- the normal classpath -->
   <path id="contrib-classpath">

Modified: hadoop/common/trunk/hdfs/src/contrib/fuse-dfs/ivy.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hdfs/src/contrib/fuse-dfs/ivy.xml?rev=1155123&r1=1155122&r2=1155123&view=diff
==============================================================================
--- hadoop/common/trunk/hdfs/src/contrib/fuse-dfs/ivy.xml (original)
+++ hadoop/common/trunk/hdfs/src/contrib/fuse-dfs/ivy.xml Mon Aug  8 22:09:28 2011
@@ -15,7 +15,7 @@
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
-<ivy-module version="1.0">
+<ivy-module version="1.0" xmlns:m="http://ant.apache.org/ivy/maven">
   <info organisation="org.apache.hadoop" module="${ant.project.name}">
     <license name="Apache 2.0"/>
     <ivyauthor name="Apache Hadoop Team" url="http://hadoop.apache.org"/>
@@ -45,9 +45,11 @@
       rev="${hadoop-common.version}"
       conf="common->default"/>
     <dependency org="org.apache.hadoop"
-      name="hadoop-common-test"
+      name="hadoop-common"
       rev="${hadoop-common.version}"
-      conf="common->default"/>
+      conf="common->default">
+      <artifact name="hadoop-common" type="tests" ext="jar" m:classifier="tests"/>
+    </dependency>
     <dependency org="log4j"
       name="log4j"
       rev="${log4j.version}"



Mime
View raw message