The following persons shall be joined as parties in a proceeding to adjudicate parentage:

A. the mother of the child; and

B. a man whose paternity of the child is to be adjudicated.