Site built with maven:
~/ws/lik/likM2$ mvn site:site
You will need the following site descriptor in your ~/.m2/settings.xml:
<servers> <server> <id>sfsite</id> <username>yourSFuser</username> </server> </servers>