Changed pom file to make the packaging a war