If you want to set exactly version without any calculation from the plugin use skipResoultion parameter with the current version of the plugin:
mvn org.codehaus.mojo:versions-maven-plugin:2.17.1:update-parent -DallowSnapshots -DskipResolution=true -DparentVersion="your-version"