add maven package
add some mac files to the gitignore