changed build target in maven to use war
changed build target in maven to use war