I would recommend the Semantic Versioning standard, which the Maven versioning system also appears to follow. Please check out,
http://semver.org/
In short it is <major>.<minor>.<patch><anything_else>
, and you can add additional rules to the anything else part as seems fit to you. eg. -<qualifier>-<build_number>
.