Removing duplicate dependency from the pom.xml