Releasing a plugin
In order to release a plugin, you need to have commit access to the SONAR-PLUGINS project. If not, ask for it on dev mailing-list.
Prepare to Release
- Make sure the wiki page is up to date
- All JIRA issues included in the release should be closed
- Plugin must be documented and preferably have unit and integration tests
Prepare for the first release
When a plugin is ready to have its first release, you should do the following :
- Set the <scm> tag in the pom :
- Check that group id is org.codehaus.sonar-plugins in pom.xml, but not org.codehaus.sonar.plugins
- Set your Codehaus username/password in Maven settings.xml :
Call a Vote
Before a release can occur, a vote typically takes place. This is initiated with an email to the dev mailing list, preferrably with a subject that starts 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 verify the quality of the plugin before placing their vote.
Only sonar-plugin commiters can vote. To pass, a vote should :
- have a minimum of three +1
- have no negative vote
Perform the Release
- Execute the maven-release-plugin, use default values :
- Once this is done, the jar file is available under http://repository.codehaus.org/org/codehaus/sonar-plugins/ and a tag has been created under http://svn.codehaus.org/sonar-plugins/tags
- Update the plugin page in Confluence (Don't forget to update the Changelog using the jiraissues macro).
- Announce the release on Sonar user mailing-list
- Twit it