remove duplicated elements in pom.xml.