changed java version to 1.6 in maven's pom