| Table of Contents |
Prerequisites
- Java at least 1.6
- Maven at least 3.0.4
Sources
https://github.com/SonarSource/sonar-eclipse
Release Procedure
Previous version - $previousVersion
Version for release - $tagVersion
Next version - $nextVersion
Before release verify that you can build project by executing following command:
- Old version should be archived, i.e. all files from http://dist.sonar-ide.codehaus.org/eclipse/ should be moved to new directory http://dist.sonar-ide.codehaus.org/eclipse-archives/$previousVersion
Qualified version for release should be constructed with timestamp. This can be done as following :
For example: 2.3.0.20111208-0742
This version should be set for all pom.xml and MANIFEST.MF files. This can be done by execution of following command:
Unfortunately there is one place where version should be updated manually due to a bug in Tycho. So you have to edit org.sonar.ide.eclipse.site/org.sonar.ide.eclipse.site.product and update
version="XXX"(replace XXX by $releaseVersion).Verify build by execution of following command:
At this point version for release can be tagged. And deployment can be done by execution of following command:
In order to prepare for next development version execute following command:
Unfortunately there is one place where version should be updated manually due to a bug in Tycho. So you have to edit org.sonar.ide.eclipse.site/org.sonar.ide.eclipse.site.product and update
version="XXX"(replace XXX by $nextVersion.qualifier).- And don't forget to push changes to GitHub
Following steps should be done after release:
- Release version in Jira
- Update version in Eclipse Marketplace
- Add changelog and update version in Confluence
- Announce release

