Updated main pom to package war