Activate hadoop2 profile in pom.xml with -Dhadoop=2