Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Release info

This is just a scratch pad for notes relating to making branches, releases and pushing to the Sakai Maven repo.

...

If by chance branching fails issue a mvn release:rollback to clean your folder.

Making a release

...

  • when prompted set the release version to 1.3.0.
  • set the tag to profile-1.3.0 (mvn will guess this)
  • set the branch working copy to 1.3.1-SNAPSHOT (mvn may NOT guess this)

Sometimes the release gets as far as creating the tag, updating the branch version pom and then stalls with no binaries deposited in the repo. If that happens kill the process and do this:

  • download the profile-1.3.0 tag
    Code Block
    mvn release:perform -DconnectionUrl=scm:svn:https://source.sakaiproject.org/contribsvn/profile2/tags/profile2-1.3.0
    

This will release the artifacts to the Maven repository directly from the tag.

Updating SNAPSHOT artifacts

Code Block

mvn clean install source:jar javadoc:jar deploy

or with a site:

Code Block

mvn clean install source:jar javadoc:jar site:site site:deploy deploy