You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2011/04/07 00:14:19 UTC
[Cassandra Wiki] Update of "HowToPublishToMavenCentral" by StephenConnolly
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "HowToPublishToMavenCentral" page has been changed by StephenConnolly.
http://wiki.apache.org/cassandra/HowToPublishToMavenCentral?action=diff&rev1=5&rev2=6
--------------------------------------------------
Please read the [[http://www.apache.org/dev/publishing-maven-artifacts.html#common|Common Procedures]] for details of how to close, drop and release stanging repositories.
+ == Making a release ==
+
+ Note: this process assumes that you are working on a stream where [[https://issues.apache.org/jira/browse/CASSANDRA-1851|CASSANDRA-1851]] has been applied.
+
+ To make a release:
+
+ 1. Make a full build from a real clean base, i.e. use the following sequence of commands:
+ {{{
+ ant realclean
+ ant publish -Drelease=true
+ }}}
+ That will build all the required artifacts and sign them with your GPG signature and publish them to a staging repository on [[http://repository.apache.org|repository.apache.org]]
+
+ 2. Login to [[http://repository.apache.org|repository.apache.org]] with your Apache LDAP username and password. Select ''Staging Repositories'' and find
+ the open repository that you just deployed to and close it. Make note of the URL of the staging repository (it will look something like {{{https://repository.apache.org/content/repositories/''staging repository id''/}}}
+ 3. Goto [[http://svn.apache.org/viewvc/cassandra/|The ViewVC for Apache's SVN server]] and get the URLS for CHANGES.txt and NEWS.txt for the version you want to release. Shorten these URLs using [[http://s.apache.org|Apache's URL shortening service]].
+ 3. Goto [[https://issues.apache.org/jira/browse/CASSANDRA?selectedTab=com.atlassian.jira.plugin.system.project%3Aversions-panel|The Versions tab in JIRA]]. Select the Version being released, and Copy the Release Notes URL. It will look something like {{{https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310865&version=#########}}}. Shorten that url using [[http://s.apache.org|Apache's URL shortening service]].
+ 3. Call a release vote on the [[mailto:dev@cassandra.apache.org|dev@cassandra.apache.org]] mailing list. e.g.
+ {{{
+ Subject: [VOTE] Release Apache Cassandra X.Y.Z
+
+ I propose the following artifacts for release as X.Y.Z.
+
+ SVN: https://svn.apache.org/repos/asf/cassandra/''path to branch''@''peg revision''
+ Artifacts: https://repository.apache.org/content/repositories/''staging repository id''/org/apache/cassandra/apache-cassandra/X.Y.Z/
+ Staging repository: https://repository.apache.org/content/repositories/''staging repository id''/
+
+ The will remain open for 72 hours, (longer if need be).
+
+ [1]: ''http://s.apache.org/link'' (CHANGES.txt)
+ [2]: ''http://s.apache.org/link'' (NEWS.txt)
+ [3]: ''http://s.apache.org/link'' (Release notes from JIRA)
+
+ }}}
+