Changing application packaging to war