Clean up dependencies in pom.xml files.