update .gitignore and a trivial bug
update pom for release to central repository