Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

278 maven repository #867

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions doc/source/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,30 @@ we create a release using the following process:
#. Follow steps 1-5 in the process for `Development releases`_ above,
except using the ``release-$MAJOR.$MINOR`` branch as the base
instead of ``master``.

+++++++++++++++++++++++++++++++++
Releasing to the Maven repository
+++++++++++++++++++++++++++++++++

Prerequisites/Setup:
1. Create a GPG key. Review [the Maven guidelines on working
with keys](http://central.sonatype.org/pages/working-with-pgp-signatures.html),
2. Set up your environment (add it to keys).
a. Add the GPG key to the KEYS file.
b. Copy (or incorporate) the settings.xml file to ``~/.m2/settings.xml``
and add your GPG key and sonatype login. There is an example file in
the scripts/release directory.
3. Obtain a sonatype login (request from the project manager).

Release:
1. Update the version in pom.xml.
2. Run ``mvn -Prelease deploy`` from the schemas directory.
3. From oss.sontaype.org#stagingRepositories, login and check the release just
uploaded. If good, use the close button above the repository list to make it
public. If there is a problem, the drop button can be used to delete the
release.
4. After the release is rsynced to the Maven Central repository, confirm
checksums match and verify signatures. Then press the release button.

See http://central.sonatype.org/pages/releasing-the-deployment.html for details
about releasing the deployment from sonatype.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>org.ga4gh</groupId>
<artifactId>ga4gh-schemas</artifactId>
<packaging>jar</packaging>
<version>0.6.0a10-SNAPSHOT</version>
<version>0.6.0a10</version>

<name>GA4GH: Schemas</name>
<description>Data models and APIs for Genomic data.</description>
Expand Down
25 changes: 0 additions & 25 deletions scripts/release/README.md

This file was deleted.