Problem is with the allowTimestampedSnapshots parameter name, it’s in the documentation but the plugin’s source uses a different parameter name in expression – ignoreSnapshots.
So just use -DignoreSnapshots=true and the prepare goal of the release plugin will ignore snapshot dependencies.