Some changes to gitignores and pom.xmls