build a war package and update .gitignore.