Update version increment behavior

Only increment the version in the local pom if there is a remote version
with a higher build number.
Merge pull request #109 from pgier/version-increment-fix

Update version increment behavior