moving dependency to root pom and formatting pom files