update poms to 6.x and switch order of checks in deploy.sh
Merge pull request #17 from baranowb/master

update poms to 6.x and switch order of checks in deploy.sh