The maven release plugin assumes you are releasing from the latest commit on the current branch (HEAD). You cannot release from a previous build, it has to be the latest one.
Before running the build, it's possible to customise the versions:
It's possible to change the next released version in the Plan Configuration as well:
Other pages