The snapshot version to be tested must be publicly available. If the plugin is hosted on:
mvn clean deploy
Before a release can occur, a vote must take place.
The vote is initiated by sending an email to firstname.lastname@example.org with a link to the snapshot artifact. The email subject is prefixed with [VOTE]. Explain the plugin, status, and give any other info you feel is relevant. The standard is to wait 72 hours for responses. This gives other developers time to test the plugin before placing their vote. Each plugin committer gets one vote: -1 meaning "no" or +1 meaning "yes."
Only SonarQube plugin committers can vote. The first release requires three +1's and no -1's. For subsequent releases, the vote can be passed by lazy consensus: it passes if there are no -1's.
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