fix pom.xml file and ignore maven generated folder