After two months and dozens of cases, New Brunswick has declared the measles outbreak to be over.