Projects are released using the Maven Release Plugin. With the help of this plugin all necessary changes to the POMs can be automated. In order to deploy the site report to Sourceforge it is required to create a Sourceforge shell first.
Releasing is done in the following steps. Assume that your plugin has a version 1.1.5 to release and the next version you want to work on is 1.2.0. Since this version will be under development you will create a snapshot version.
- Create a Sourceforge shell
ssh -t <sfaccount>,email@example.com create
- Prepare the release - Dry Run
mvn -DdryRun=true -Dtag=1.1.5 -DdevelopmentVersion=1.2.0-SNAPSHOT release:prepare
- Revert the changes
- Prepare the release
mvn -Dtag=1.1.5 -DdevelopmentVersion=1.2.0-SNAPSHOT -Dusername=<YourSFAccountUser> -Dpassword=<YourSFAccountPassword> release:prepare
- Perform the release
mvn release:perform -Dsfuser=<sourceforgeaccount>
If you are really sure what you are doing you can leave out the first two steps.
It is important that your <scm> settings in the pom.xml is correct.