Added option to create war file based on boolean value createWar (default=true)