apache/uima-uimaj

Apache UIMA Java SDK 3.4.1

reckart opened this issue · 0 comments

Preparations

  • Create release issue and release preparation branch
  • Update README.md file
  • Update RELEASE_NOTES.md file
  • Check the LICENSE and NOTICE files for the binary release
  • Make sure to remove all SNAPSHOT repositories and SNAPSHOT dependencies
  • Update API reference version in POM
  • Check that the Eclipse .classpath files which are checked in as part of the examples have the proper version numbers for their JARs

Building

  • Commit all changes and check out in a new clean build location
  • Clean local ~/.m2/repository
  • Run a trial build locally with -Papache-release
  • Check the issues report in issuesFixed if it looks ok
  • Do the release build (mvn -DautoVersionSubmodules=true release:prepare release:perform)

Staging

Voting

  • Call for a vote on the developer mailing list
  • Close vote and post vote results to the developer mailing list (wait at least for 72 hours, at least 3 +1 votes required for release, sign mail using same GPG key that was used to sign release)

Publishing
Copy the release artifacts from the staging spot to the dist spot in SVN

  • Copy the release artifacts from the staging spot to the dist spot in SVN
    svn mv -m "Move final release candidate to dist spot" https://dist.apache.org/repos/dist/dev/uima/uimaj-3.4.1-RC-202302191155-1890c48 https://dist.apache.org/repos/dist/release/uima/uimaj-3.4.1
  • Copy existing Eclipse update site to the archive spot
    svn copy -m "create eclipse plugin archive for uimaj-3.4.0" https://dist.apache.org/repos/dist/release/uima/eclipse-update-site-v3/uimaj https://dist.apache.org/repos/dist/release/uima/archive-eclipse-update-site/uimaj-3.4.0
  • Delete existing Eclipse update site
    svn rm -m "Removing previous UIMAJ update site to make space for new one" https://dist.apache.org/repos/dist/release/uima/eclipse-update-site-v3/uimaj
  • Move the new update site from the dist spot to its proper dist location
    svn mv -m "Installing UIMAJ 3.4.1 update site" https://dist.apache.org/repos/dist/release/uima/uimaj-3.4.1/eclipse-update-site https://dist.apache.org/repos/dist/release/uima/eclipse-update-site-v3/uimaj
  • Copy Eclipse update site to the archive spot
    svn copy -m "create eclipse plugin archive for uimaj-3.4.1" https://dist.apache.org/repos/dist/release/uima/eclipse-update-site-v3/uimaj https://dist.apache.org/repos/dist/release/uima/archive-eclipse-update-site/uimaj-3.4.1
  • Release staging repository at https://repository.apache.org/
  • Create a new git tag e.g. rel/uimaj-3.4.1 and remove the one not prefixed with rel
  • Merge the release preparation pull request
  • Update website
  • Copy documentation to archive spot
    svn cp -m "No issue: Copying latest documentation to archive spot" https://svn.apache.org/repos/asf/uima/site/trunk/uima-website/docs/d/uimaj-current https://svn.apache.org/repos/asf/uima/site/archive/docs/d/uimaj-3.4.1
  • Close the release in the issue tracker
  • Post release announcement to announce@apache.org (Cc: dev@uima.apache.org, user@uima.apache.org — once release has arrived at https://repo1.maven.org/maven2/org/apache/uima/uimaj-core/  — sign mail using same GPG key that was used to sign release)