updated pom.xml to build as war