configuring pom.xml, fixing war command, and executing war on server