1- Move to the desired tag (Ex. hg up -r v1.0.0.M2) 
2- From the root pom run mvn javadoc:aggregate
3- upload the generated javadocs from target/site/apidocs to the remote directory