A document has been updated:
http://cocoon.zones.apache.org/daisy/documentation/1199.html
Document ID: 1199
Branch: main
Language: default
Name: Releasing Cocoon (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 3/19/07 11:43:02 PM
Updated by: Reinhard Pötz
A new version has been created, state: publish
Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 5453 bytes (previous version: 4900 bytes)
Content diff:
(13 equal lines skipped)
<p>Make sure that you use Java 1.4. Usually this means setting JAVA_HOME
correctly.</p>
+++ <h2>GnuPG</h2>
+++
+++ <p>Install <a href="http://www.gnupg.org/">GnuPG</a> on your workstation and
+++ make sure that YOUR key, published in
+++ <a
href="http://svn.apache.org/repos/asf/cocoon/trunk/commons/KEYS">KEYS</a>, is
+++ your default local key.</p>
+++
<h2>Maven 2</h2>
<h3>Unix based systems</h3>
(36 equal lines skipped)
-Darguments="-N"<br/>
</tt></li>
<li><tt>mvn -N -Dusername=</tt><tt>[svn-user-name]</tt><tt>
-Dpassword=********
--- release:perform -Darguments="-N"</tt></li>
+++ release:perform -Darguments="-N
+++ </tt><tt>-Dgpg.passphrase='[secret_passphrase_here]'</tt><tt>" </tt><tt>-P
+++ release</tt></li>
</ol>
<p>Take care to manually change all poms that have the released pom as a
parent.
(11 equal lines skipped)
<li>replace all SNAPSHOT dependencies with already deployed artifacts</li>
<li><tt>mvn -Dusername=[svn-user-name] -Dpassword=********
release:prepare</tt>
</li>
--- <li><tt>mvn -Dusername=[svn-user-name] -Dpassword=********
release:perform</tt>
--- </li>
+++ <li><tt>mvn -Dusername=[svn-user-name] -Dpassword=******** release:perform
+++ -Darguments="-Dgpg.passphrase='[secret_passphrase_here]'" -P
release</tt></li>
<li>if SNAPSHOT dependencies have been replaced before, point again to
them</li>
<li>Point all artifacts in trunk to the new snapshot version of this
artifact.
For this purpose find a script in
<tt>cocoon/trunk/tools/pom-updater</tt>.</li>
(12 equal lines skipped)
<ul>
<li>the name and the version of the artifact</li>
--- <li>the SVN tag (actually that's thing we are voting on!)</li>
+++ <li>the SVN tag (actually we are voting on SCM tags; we have to trust in the
+++ release manager that the binaries are generated from the tag)</li>
<li>how to test it</li>
<li>time how long the vote will stay open</li>
<li>pointer to the changes document</li>
(11 equal lines skipped)
<p>If everything worked fine, you you can delete
<tt>/x1/www/people.apache.org/builds/cocoon/org</tt>.</p>
+++ <h1>Sept 7: Announce the release</h1>
+++
+++ <p class="fixme">Add a template here</p>
+++
<h1>Tips and tricks</h1>
<ul>
(22 equal lines skipped)