Edited pom.xml. Changed Java to 1.6 version.