Changed pom.xml to fix the java compiler issues.