The number of cruise ships that have been stopping in Maine ports has been on the rise in recent years.