B-77826: fix issue where pom.properties is not copied before war is packaged