BZ-1045355: exclude gwt deploy information from war's (not needed)
BZ-1047789: fix in order to be able to have consistent building flag state