Releasing itracker from Sources

The following steps must be taken when releasing itracker from a trunk snapshot version:

  1. Finalize and link the current release-notes in site.xml and index.xml and release-notes/index.xml
  2. Assign memory to the maven tool (needed for creating the site):

    export MAVEN_OPTS="-Xms512m -Xmx1224m"

  3. Open an interactive ssh shell for sourceforge:

    ssh -t #username#,itracker@shell.sourceforge.net create

  4. Run the prepare release goal:

    mvn release:prepare -Pitracker-release

  5. Run the perform release goal:

    mvn release:perform -Pitracker-release

  6. Upload the files to Sourceforge (3 -- Stable_Production/itracker-#RELEASE_VERSION#)

    Open the folder with SFTP at URL: sftp://#username#,itracker@web.sourceforge.net/home/frs/project/itracker/1%20--%20Stable_Production/

    • Create new Folder following the pattern itracker-#RELEASE_VERSION# using the web-interface (check the 'staging' flag!)
    • Upload file target/checkout/itracker-assembly/target/itracker-#RELEASE_VERSION#-bin.zip

      Set this file as default download for all

    • Upload file target/checkout/itracker-assembly/target/itracker-#RELEASE_VERSION#-src.zip
    • Uncheck the staging-flag for the folder.
  7. Create a news post for the release on source-forge: News Section

Staging the Maven generated Site

  1. Assign memory to the maven tool (needed for creating the site):

    export MAVEN_OPTS="-Xms512m -Xmx1224m"

  2. Open an interactive ssh shell for sourceforge:

    ssh -t #username#,itracker@shell.sourceforge.net create

  3. Build the project

    mvn clean install

  4. Generate and deploy the staging site separated to have code-coverage executed.

    mvn site site:stage-deploy -Pitracker-site


R.Ø.S.A.