Switched Java version to 1.6 in pom.xml