In any village the board of trustees may, by ordinance, call a caucus for the purpose of nomination of candidates for offices to be filled in the village election. Such caucus shall be held at least ten days before the filing deadline for such election, and the village board of trustees shall publish notice of such caucus in at least one legal newspaper in or of general circulation in the village at least once each week for two consecutive weeks before such caucus.