This document gives step-by-step instructions for deploying the Maven current references. The primary audience is Maven PMC.
Be sure that:
$ svn checkout https://svn.apache.org/repos/asf/maven/maven-2/tags/maven-2.2.0 maven-2.2.0
maven-2.2.0$ mvn site -Preporting
You could also use the stage goal of the Maven Site Plugin to verify the site output. For instance:
maven-2.2.0$ mvn site:stage -Preporting -DstagingDirectory=/tmp/maven-2.2.0
maven-2.2.0$ mvn site-deploy -Preporting
It will create a new folder 2.2.0 in /www/maven.apache.org/ref/ on the Apache server.
Note: It will take an hour or so to sync.
The redirection from /ref/current to actual Maven version reference is done through .htaccess published in site.