Modif.gitignore and the pom file

Add dependencies on pom file
ignore the backup file *.*~ in .gitignore