ramangrover29 | 3b22171 | 2013-08-01 11:16:42 -0700 | [diff] [blame] | 1 | rm -rf dist |
| 2 | mkdir dist |
| 3 | |
| 4 | hadoop_versions=(0.20.2 0.23.1 0.23.6 1.0.4 cdh-4.1 cdh-4.2) |
| 5 | cd ../ |
| 6 | for v in ${hadoop_versions[@]} |
| 7 | do |
| 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 |
| 12 | done |