blob: e213181d3bc1589b17b7e71d127f20342f2446b5 [file] [log] [blame]
buyingyiab353a32013-07-14 10:03:03 -07001rm -rf dist
2mkdir dist
3
4hadoop_versions=(0.20.2 0.23.1 0.23.6 1.0.4 cdh-4.1 cdh-4.2)
5cd ../
6for v in ${hadoop_versions[@]}
7do
8 #echo mvn clean package -DskipTests=true -Dhadoop=${v}
9 mvn clean package -DskipTests=true -Dhadoop=${v}
10 #echo mv pregelix/pregelix-dist/target/pregelix-dist-*-binary-assembly.zip pregelix/dist/pregelix-dist-binary-assembley-hdfs-${v}.zip
11 mv pregelix/pregelix-dist/target/pregelix-dist-*-binary-assembly.zip pregelix/dist/pregelix-dist-binary-assembley-hdfs-${v}.zip
12done