Fornax-Platform View a printable version of the current page. Export Page as PDF
  Release a project
 
 Browse Space
General


Projects


Latest News
Latest News
(The 15 most recent blogposts in space Fornax-Platform.)


Global Reports
Find all pages that arent linked from anywhere.
Find all undefined pages.
Feed for new pages.
Added by Karsten Thoms, last edited by Karsten Thoms on Jan 18, 2011  (view change)

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

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.

  1. Create a Sourceforge shell
    ssh -t <sfaccount>,fornax@shell.sf.net create
  2. Prepare the release - Dry Run
    mvn -DdryRun=true -Dtag=1.1.5 -DdevelopmentVersion=1.2.0-SNAPSHOT release:prepare
    Check the
  3. Revert the changes
    mvn release:clean
  4. Prepare the release
    mvn -Dtag=1.1.5 -DdevelopmentVersion=1.2.0-SNAPSHOT -Dusername=<YourSFAccountUser> -Dpassword=<YourSFAccountPassword> release:prepare
  5. 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.