You should only update the version number after a release.
The process is:

* Set version to 4.1
* release the library
* set version to 4.2-SNAPSHOT fo rthe next round of development

There may be a plugin to do that for you automatically (there is in maven I think)