publican tax collector at the service of rome in antiquity , publicans were public contractors , in which role they often supplied the roman legions and military , managed the collection of port duties , and oversaw public building projects .