Modify pom.xml and add .gitignore