blob: e213181d3bc1589b17b7e71d127f20342f2446b5 [file] [log] [blame]
rm -rf dist
mkdir dist
hadoop_versions=(0.20.2 0.23.1 0.23.6 1.0.4 cdh-4.1 cdh-4.2)
cd ../
for v in ${hadoop_versions[@]}
do
#echo mvn clean package -DskipTests=true -Dhadoop=${v}
mvn clean package -DskipTests=true -Dhadoop=${v}
#echo mv pregelix/pregelix-dist/target/pregelix-dist-*-binary-assembly.zip pregelix/dist/pregelix-dist-binary-assembley-hdfs-${v}.zip
mv pregelix/pregelix-dist/target/pregelix-dist-*-binary-assembly.zip pregelix/dist/pregelix-dist-binary-assembley-hdfs-${v}.zip
done