Clean pom.xml files and eliminate errors