Updated readme.md
updated POM to fix deprecation warnings