change compiler target to 1.6 and update pom