Before a release can occur, a vote typically takes place.
The snapshot version to be tested must be publicly available. If the plugin is hosted on:
mvn clean deploy
The vote is initiated by sending an email to email@example.com with a link to the snapshot artifact. The email subject is prefixed with [VOTE]. Explain the plugin, status and any other info you feel relevant. The standard is to wait 72 hours for responses. This gives other developers time to test the plugin before placing their vote. Votes are represented as numbers between -1 and +1, with -1 meaning 'no' and +1 meaning 'yes.'
Only Sonar plugin committers can vote. The first release requires three +1 and no -1. Then vote is adopted by lazy consensus for next releases. It passes if it doesn't have any -1.
Set your Codehaus username/password in Maven settings.xml:
<settings> <servers> <server> <id>codehaus.org</id> <username>CODEHAUS_LOGIN</username> <password>CODEHAUS_PASSWORD</password> </server> </servers> </settings>
Deploy the plugin to the Maven central repository by executing the following command with default values:
mvn release:prepare release:perform