Cleans pom.xml dependencies.