Added compiler plugin to pom.xml to target Java 1.6