Changed Java version from 1.5 to 1.6 in pom.xml