incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1180287 - /incubator/bigtop/branches/hadoop-0.22/bigtop-packages/src/common/hadoop/do-component-build
Date Sat, 08 Oct 2011 00:55:53 GMT
Author: rvs
Date: Sat Oct  8 00:55:52 2011
New Revision: 1180287

URL: http://svn.apache.org/viewvc?rev=1180287&view=rev
Log:
More hacks to make slipt hadoop projects talk to each other

Modified:
    incubator/bigtop/branches/hadoop-0.22/bigtop-packages/src/common/hadoop/do-component-build

Modified: incubator/bigtop/branches/hadoop-0.22/bigtop-packages/src/common/hadoop/do-component-build
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.22/bigtop-packages/src/common/hadoop/do-component-build?rev=1180287&r1=1180286&r2=1180287&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.22/bigtop-packages/src/common/hadoop/do-component-build
(original)
+++ incubator/bigtop/branches/hadoop-0.22/bigtop-packages/src/common/hadoop/do-component-build
Sat Oct  8 00:55:52 2011
@@ -29,7 +29,7 @@ fi
 
 for project in common hdfs mapred ; do 
   cd $project || cd mapreduce
-  ant  \
+  ant -Dresolvers=internal \
     -Djava5.home=$JAVA5_HOME \
     -Dforrest.home=$FORREST_HOME \
     -Dversion=${HADOOP_VERSION} \
@@ -50,6 +50,7 @@ for project in common hdfs mapred ; do 
 
   # NOTE: This is a total hack and needs to be generalized for future versions of Bigtop
   # Installing maven artifacts for downstream components
-  mvn install:install-file -Dfile=build/hadoop-$i-0.22.0.jar -DgroupId=org.apache.hadoop
-DartifactId=hadoop-$i -Dversion=0.22.0-SNAPSHOT -Dpackaging=jar
-  mvn install:install-file -Dfile=build/hadoop-$i-test-0.22.0.jar -DgroupId=org.apache.hadoop
-DartifactId=hadoop-$i -Dversion=0.22.0-SNAPSHOT -Dpackaging=jar -Dclassifier=test
+  mvn install:install-file -Dfile=build/hadoop-$project-0.22.0.jar -DgroupId=org.apache.hadoop
-DartifactId=hadoop-$project -Dversion=0.22.0-SNAPSHOT -Dpackaging=jar
+  mvn install:install-file -Dfile=build/hadoop-$project-test-0.22.0.jar -DgroupId=org.apache.hadoop
-DartifactId=hadoop-$project-test -Dversion=0.22.0-SNAPSHOT -Dpackaging=jar
+  rm -rf ~/.ivy2/cache/org.apache.hadoop/hadoop-*-test debian/.ivy/cache/org.apache.hadoop/hadoop-*-test

 done



Mime
View raw message