Copy/paste the contents of etc/deploy-settings.xml in your .m2/settings.xml - set the login/password of your sonatype account and the keyname and passpharse of your gpg key
In the root directory of the project, run
etc/deploySnapshot.sh
In the root directory of the project, run
etc/releaseAndDeploy.sh