I think we need to update that page. Try using the settings.xml at the root of the checkout.
This tripped me up as well. The settings.xml at the root seems to be working for me.
$ mvn clean install -P release -s settings.xml
The release article and the README.md for git have now been updated to make it more explicit to use the settings.xml from the root of the project.