Cleanup dependencies in pom files