Cleaning pom and transitive dependencies