Updated pom.xml to compile with maven