Update pom and remove transitive dependencies