Fixed duplicate class problem by rolling back to version 2.1 of the Maven assembly plugin - 2.2 onwards is buggy