# Install mrunit-1.0.0 into ~/.m2
mvn2 -DskipTests install:install-file -DgroupId=org.apache.mrunit -DartifactId=mrunit -Dversion=1.0.0-20130107.225915-832 -Dclassifier=hadoop1 -Dpackaging=jar -Dfile=/home/poulin/bcounts-0.1.0-SNAPSHOT/mrunit-1.0.0-SNAPSHOT-hadoop1.jar
mvn2 install:install-file -DgroupId=org.apache.mrunit -DartifactId=mrunit -Dversion=1.0.0-SNAPSHOT -Dclassifier=hadoop1 -Dpackaging=jar -Dfile=/home/poulin/bcounts-0.1.0-SNAPSHOT/mrunit-1.0.0-SNAPSHOT-hadoop1.jar
# if the following hangs for more than 5 minutes without output, ctrl-c and then re-run it
# can ignore: [INFO] Unable to find resource *
mvn2 -DskipTests install

# redo the build with mvn3
rm -fr /home/poulin/.m2
mvn3 -DskipTests install:install-file -DgroupId=org.apache.mrunit -DartifactId=mrunit -Dversion=1.0.0-20130107.225915-832 -Dclassifier=hadoop1 -Dpackaging=jar -Dfile=/home/poulin/bcounts-0.1.0-SNAPSHOT/mrunit-1.0.0-SNAPSHOT-hadoop1.jar
mvn3 install:install-file -DgroupId=org.apache.mrunit -DartifactId=mrunit -Dversion=1.0.0-SNAPSHOT -Dclassifier=hadoop1 -Dpackaging=jar -Dfile=/home/poulin/bcounts-0.1.0-SNAPSHOT/mrunit-1.0.0-SNAPSHOT-hadoop1.jar

# if the following hangs for more than 5 minutes without output, ctrl-c and then re-run it
mvn3 -DskipTests install
# run without -DskipTests switch
mvn3 install
# make maven project loadable into eclipse
mvn3 -Declipse.workspace=/home/poulin/workspace eclipse:configure-workspace
mvn3 -DdownloadSources=true -DdownloadJavadocs=true eclipse:clean eclipse:eclipse
mvn3 dependency:build-classpath