changed pom.xml for packaging to war