exclude api generator from war