Skip to content

DeveloperDocs

jochenwierum edited this page Nov 5, 2012 · 3 revisions

For FitGoodies Developers

Releasing a new Maven Version

The basic steps are all documented here: https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide

To do a FitGoodies release, follow these steps:

Note: so far, this procedure only worked in linux (not cygwin, not Windows) because the git command is invoked with illegal syntax in Windows.

  • Make sure you have gnupg at your hand and that the sonatype credentials are available in ~/.m2/settings.xml
  • Make a clean checkout of the master branch
  • Run mvn release:prepare, provide the new version number(s)
  • Run mvn release:perform
  • Follow Step 8 of the above user guide
  • Update the FirstSteps page

Release a new jar version (sourceforge)

  • Check out the clean and tagged release
  • Make sure you have ant and maven-ant-tasks installed
  • Change to the fitgoodies subdirectory
  • Run mvn package-all -Dversion=x.y.z -Dmaven=/path/to/maven/home
  • Upload the three artifacts to the github download page

Clone this wiki locally