fixed maven issues and gitignore issue

1. Fixed issue with maven and eclipse
2. Fixed gitignore successfully.