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 hivesterix/hivesterix-dist/target/hivesterix-dist-*-binary-assembly.zip hivesterix/dist/hivesterix-dist-binary-assembley-hdfs-${v}.zip | |
mv hivesterix/hivesterix-dist/target/hivesterix-dist-*-binary-assembly.zip hivesterix/dist/hivesterix-dist-binary-assembley-hdfs-${v}.zip | |
done |