Rivera is a municipality of the district Lugano in the canton of Ticino in Switzerland .
Rivera is a former municipality in the district of Lugano in the canton of Ticino in Switzerland .