Reinit previous Eclipse project to a Maven project.
modify the .gitignore
add target/ to .gitignore