For deploying a release or snapshot, you will have to configure the according server and your credentials in the Maven settings. Additionally you have to set the
GPG passphrase for signing the artifacts:
Having set up Maven, you can just checkout Pustefix and use the Maven release plugin to build and deploy it:
Pustefix will be deployed to the Sonatype staging repository. To make it available on Maven Central you have
to close and release it using the Sonatype web interface.