Using a breakwater in offshore operations