Removing groupId and version duplications.