updated pom and fixed java version to 1.6