Releasing itracker from Sources
The following steps must be taken when releasing itracker from a trunk snapshot version:
- Finalize and link the current release-notes in site.xml and index.xml and release-notes/index.xml
- Assign memory to the maven tool (needed for creating the site):
export MAVEN_OPTS="-Xms512m -Xmx1224m"
- Open an interactive ssh shell for sourceforge:
ssh -t #username#,itracker@shell.sourceforge.net create
- Run the prepare release goal:
mvn release:prepare -Pitracker-release
- Run the perform release goal:
mvn release:perform -Pitracker-release
- 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.
- Create a news post for the release on source-forge: News Section
Staging the Maven generated Site
- Assign memory to the maven tool (needed for creating the site):
export MAVEN_OPTS="-Xms512m -Xmx1224m"
- Open an interactive ssh shell for sourceforge:
ssh -t #username#,itracker@shell.sourceforge.net create
- Build the project
mvn clean install
- Generate and deploy the staging site separated to have code-coverage executed.
mvn site site:stage-deploy -Pitracker-site