openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] OpenJPA > Apache Nexus Release Process (1.2.x-2.1.x)
Date Wed, 10 Oct 2012 22:34:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/9/5/_/styles/combined.css?spaceKey=openjpa&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/openjpa/Apache+Nexus+Release+Process+%281.2.x-2.1.x%29">Apache
Nexus Release Process (1.2.x-2.1.x)</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~allee8285@gmail.com">Albert
Lee</a>
    </h4>
        <br/>
                         <h4>Changes (3)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >$ svn checkout https://svn.apache.org/repos/asf/openjpa/branches/2.0.x/
2.0.1-rc1/ <br>{code} <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{note}
<br>Make sure you use https:// protocol because the following release:prepare step requires
update to the svn repository. <br>{note} <br></td></tr>
            <tr><td class="diff-unchanged" ># (Optional) Do a dry run of the release:prepare
step. <br>## The dry run will not commit any changes back to SVN and gives you the opportunity
to verify that the release process will complete as expected. You will be prompted for the
following information : <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >## Run the &quot;release:prepare&quot;
step for real this time.  You&#39;ll be prompted for the same version information and
optionally your GPG passphrase again. <br>{code:none} <br></td></tr>
            <tr><td class="diff-unchanged" >$ mvn release:prepare -Papache-release,docbook-profile,test-derbymem,bval
-DskipTests -Dusername=svn.user -Dpassword=svn.password -DpreparationGoals=&quot;clean
install&quot; <br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br>{note}Different arguments
and steps are required as there are problems with the maven-jar-plugin and maven-release-plugin
when using the test-jar goal.  See [http://jira.codehaus.org/browse/MJAR-68]  and [http://jira.codehaus.org/browse/MRELEASE-285].
<br>{code:none} <br></td></tr>
            <tr><td class="diff-changed-lines" >$ mvn release:prepare -Papache-release,docbook-profile,test-derbymem,bval
-DskipTests <span class="diff-added-words"style="background-color: #dfd;">-Dusername=svn.user
-Dpassword=svn.password</span> -DpreparationGoals=&quot;clean install&quot;
<br></td></tr>
            <tr><td class="diff-unchanged" >... Build failed.... <br>$ mvn
install -DskipTests <br></td></tr>
            <tr><td class="diff-changed-lines" >$ mvn release:prepare -Papache-release,docbook-profile,test-derbymem,bval
-DskipTests <span class="diff-added-words"style="background-color: #dfd;">-Dusername=svn.user
-Dpassword=svn.password</span> -DpreparationGoals=&quot;clean install&quot;
<br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br>{note} <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <p>We're starting to move our builds over to using the Apache Nexus repository
(repository.apache.org) for releasing SNAPSHOT and release artifacts.  More details on releasing
artifacts and using Nexus can be found on the Maven website at - <a href="http://maven.apache.org/developers/release/apache-release.html"
class="external-link" rel="nofollow">http://maven.apache.org/developers/release/apache-release.html</a></p>

<h3><a name="ApacheNexusReleaseProcess%281.2.x-2.1.x%29-ReleaseStepsforOpenJPA1.2.x2.1.x"></a>Release
Steps for OpenJPA 1.2.x - 2.1.x</h3>

<ol>
	<li>Environment setup for releasing artifacts (same for SNAPSHOTs and releases) -
	<ol>
		<li>Increase the default Java heap available to Maven (required for Java SE 6)
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=512m"
</pre>
</div></div></li>
		<li>Use the latest Sun 1.6.0 JDK (1.5.0 for 1.2.x and 1.3.x)</li>
		<li>Use Maven 2.2.1 or later (2.2.1 is required for release signing fixes)</li>
		<li>Make sure the <a href="/confluence/display/openjpa/Release+Setup" title="Release
Setup">Release Setup</a> steps have been performed.</li>
	</ol>
	</li>
	<li>Prepare the source for release:
	<ol>
		<li>Cleanup JIRA so the Fix Version in issues resolved since the last release includes
this release version correctly.  Also, transition any Resolved issues to the Closed state.</li>
		<li>Update the text files in a working copy of the openjpa-project subdir -
		<ol>
			<li>Update the CHANGES.txt based on the Text release reports from JIRA.
			<ol>
				<li>Choose the release from the "Versions" tab in the <a href="https://issues.apache.org/jira/browse/OPENJPA/fixforversion/"
class="external-link" rel="nofollow">releases page</a>.</li>
				<li>Click "Release Notes" link in upper right.</li>
			</ol>
			</li>
			<li>Update the RELEASE-NOTES.html based on the HTML release reports from JIRA.</li>
			<li>Review and update README.txt and BUILDING.txt if needed.</li>
			<li>Commit any changes back to svn -
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ svn commit -m "updating files for release"
</pre>
</div></div></li>
		</ol>
		</li>
		<li>Stage any Roadmap or Release landing pages on the wiki.</li>
		<li>Verify the source has the required headers before trying to release.
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ mvn apache-rat:check
</pre>
</div></div></li>
		<li>Perform a full build with tests
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ mvn clean install -Papache-release,docbook-profile,test-derby,bval
</pre>
</div></div></li>
		<li>Run the JPA 1.0 TCK (for 1.x) and JPA 2.0 TCK (for 2.x) to verify the latest code
passes.</li>
		<li>Perform a full build and deploy the SNAPSHOT artifacts
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ mvn clean deploy site site-deploy -Papache-release,docbook-profile,test-derby,bval -DskipTests
</pre>
</div></div></li>
		<li>Inspect the files in your local target directories to ensure:
		<ol>
			<li>All jars and zips include:  LICENSE and NOTICE files</li>
			<li>The NOTICE files cover all third-party included files (like XSD schemas)</li>
			<li>The LICENSE files include any third-party licenses (like XSD schemas)</li>
			<li>The openjpa and openjpa-all jars include the right packages.</li>
			<li>The openjpa source and release distribution files have the right content.</li>
			<li>All jars/zips/poms have .asc (PGP signature) and md5 files</li>
		</ol>
		</li>
	</ol>
	</li>
	<li>For new major releases (like 2.0.0 to 2.1.0)
	<ol>
		<li>Create a sub-branch from which to make the release. Releasing from a branch will
allow any cosmetic changes that need to be made for the release to be approved to be done
without preventing other more disruptive advances in the trunk from potentially causing problems
with the release. It also provides a future maintenance branch (like 2.0.x.)  A branch can
be made by running: <br class="atl-forced-newline" />
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ mvn release:branch -DbranchName=2.0.x [-Dusername=svn.user -Dpassword=svn.password]
</pre>
</div></div></li>
	</ol>
	</li>
	<li>Checkout a clean copy of the trunk/branch to release using command line svn.
	<ol>
		<li>Do not use Eclipse to do the checkout.  The extra dot (.) files created by Eclipse
throws off the rat:check processing and will get included in the source distribution. <br
class="atl-forced-newline" />
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ svn checkout https://svn.apache.org/repos/asf/openjpa/branches/2.0.x/ 2.0.1-rc1/
</pre>
</div></div>
<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td
valign='top'><img src="/confluence/images/icons/emoticons/warning.gif" width="16" height="16"
align="absmiddle" alt="" border="0"></td><td>Make sure you use https:// protocol
because the following release:prepare step requires update to the svn repository.</td></tr></table></div></li>
	</ol>
	</li>
	<li>(Optional) Do a dry run of the release:prepare step.
	<ol>
		<li>The dry run will not commit any changes back to SVN and gives you the opportunity
to verify that the release process will complete as expected. You will be prompted for the
following information :
		<ol>
			<li>Release version - take the default - (default 2.0.1)</li>
			<li>SCM release tag - *DO NOT TAKE THE DEFAULT - (default openjpa-parent-2.0.1):
: 2.0.1</li>
			<li>New development version - take the default - (default 2.0.2-SNAPSHOT)</li>
			<li><em>optional</em> if you have not specified a GPG passphrase in settings.xml
you will be prompted for it.
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ mvn -Papache-release release:prepare -DdryRun=true
</pre>
</div></div>
<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td
valign='top'><img src="/confluence/images/icons/emoticons/warning.gif" width="16" height="16"
align="absmiddle" alt="" border="0"></td><td>If you cancel a release:prepare
before it updates the pom.xml versions, then use the <b>release:clean</b> goal
to just remove the extra files that were created. If that doesn't help, try running <b>mvn
clean</b>.</td></tr></table></div></li>
		</ol>
		</li>
		<li>Verify that the release process completed as expected
		<ol>
			<li>The release plugin will create pom.xml.tag files which contain the changes that
would have been committed to SVN. The only differences between pom.xml.tag and it's corresponding
pom.xml file should be the version number.</li>
			<li>If other formatting changes have been made you should review the changes and
then commit them -
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ svn commit -m "fixing formatting for release"
</pre>
</div></div></li>
			<li>Assuming the .tag files look OK you may proceed and do any other validation you
feel necessary. The following list may be helpful
			<ol>
				<li>Check release.properties and make sure that the scm properties have the right
version. Sometimes the scm location can be the previous version not the next version.</li>
				<li>verify signatures <a href="/confluence/display/openjpa/Verifying+release+signatures#Verifyingreleasesignatures-verifySig">Verifying
release signatures#verifySig</a></li>
			</ol>
			</li>
		</ol>
		</li>
		<li>Once any failures or required updates have been committed to svn, rollback the
release prepare files -
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ mvn -Papache-release release:rollback
</pre>
</div></div></li>
	</ol>
	</li>
	<li>Prepare the release
	<ol>
		<li>Run the "release:prepare" step for real this time.  You'll be prompted for the
same version information and optionally your GPG passphrase again.
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ mvn release:prepare -Papache-release,docbook-profile,test-derbymem,bval -DskipTests -Dusername=svn.user
-Dpassword=svn.password -DpreparationGoals="clean install"
</pre>
</div></div>
<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td
valign='top'><img src="/confluence/images/icons/emoticons/warning.gif" width="16" height="16"
align="absmiddle" alt="" border="0"></td><td>Different arguments and steps
are required as there are problems with the maven-jar-plugin and maven-release-plugin when
using the test-jar goal.  See <a href="http://jira.codehaus.org/browse/MJAR-68" class="external-link"
rel="nofollow">http://jira.codehaus.org/browse/MJAR-68</a>  and <a href="http://jira.codehaus.org/browse/MRELEASE-285"
class="external-link" rel="nofollow">http://jira.codehaus.org/browse/MRELEASE-285</a>.
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ mvn release:prepare -Papache-release,docbook-profile,test-derbymem,bval -DskipTests -Dusername=svn.user
-Dpassword=svn.password -DpreparationGoals="clean install"
... Build failed....
$ mvn install -DskipTests
$ mvn release:prepare -Papache-release,docbook-profile,test-derbymem,bval -DskipTests -Dusername=svn.user
-Dpassword=svn.password -DpreparationGoals="clean install"
</pre>
</div></div></td></tr></table></div></li>
	</ol>
	</li>
	<li>Backup (zip or tar) your local release candidate directory in case you need to
rollback the release after the next step is performed.
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ cd ..
$ tar -czf 2.0.1-rc1-preRelease.tar.gz 2.0.1-rc1/
$ cd 2.0.1-rc1
</pre>
</div></div></li>
	<li>Perform the release
	<ol>
		<li>This step will create a maven staging repository and site for use in testing and
voting. You will be prompted for your repository.apache.org and people.apache.org password
several times if you have not added server profiles to your settings.xml.  See <a href="/confluence/display/openjpa/Release+Setup"
title="Release Setup">Release Setup</a> for more information.
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ mvn release:perform -Papache-release -Duser.name=&lt;your_apache_uid&gt;
</pre>
</div></div> </li>
		<li>The maven-release-plugin is configured with goals "deploy site site-deploy" and
will deploy the site files to a staging-site directory on people.apache.org.</li>
	</ol>
	</li>
	<li>Verify the release artifacts
	<ol>
		<li>Verify the HTML links in staging-site/index.html are correct
		<ol>
			<li>Login to people.apache.org</li>
			<li>Edit public_html/openjpa/[release]/staging-site/index.html and updates the followings:
			<ol>
				<li><div class="code panel" style="border-width: 1px;"><div class="codeContent
panelContent">
<pre class="code-none">
  &lt;a href="downloads/"&gt;Downloads&lt;/a&gt;
     to
  &lt;a href="apache-openjpa/downloads/"&gt;Downloads&lt;/a&gt;
</pre>
</div></div></li>
				<li><div class="code panel" style="border-width: 1px;"><div class="codeContent
panelContent">
<pre class="code-none">
  &lt;a href="docs/index.html"&gt;docs/index.html&lt;/a&gt;&lt;/td&gt;
     to
  &lt;a href="apache-openjpa/docs/index.html"&gt;docs/index.html&lt;/a&gt;&lt;/td&gt;
</pre>
</div></div></li>
			</ol>
			</li>
		</ol>
		</li>
		<li>Login to <a href="https://repository.apache.org/index.html" class="external-link"
rel="nofollow">Nexus - https://repository.apache.org/index.html</a></li>
		<li>Verify the staged artifacts in the nexus repo
		<ol>
			<li>Build Promotion --&gt; Staging Repositories</li>
			<li>Select/check org.apache.openjpa-xxx</li>
			<li>In Browser tab, navigate through the artifact tree and make sure that all javadoc,
sources, tests, jars, ... have .asc (GPG signature) and .md5 files.  See <a href="http://people.apache.org/~henkp/repo/faq.html"
class="external-link" rel="nofollow">http://people.apache.org/~henkp/repo/faq.html</a>
and <a href="http://www.apache.org/dev/release-signing.html#openpgp-ascii-detach-sig" class="external-link"
rel="nofollow">http://www.apache.org/dev/release-signing.html#openpgp-ascii-detach-sig</a></li>
		</ol>
		</li>
		<li>Close the nexus staging repo
		<ol>
			<li>Select/check org.apache.openjpa-xxx and select Close.</li>
		</ol>
		</li>
	</ol>
	</li>
	<li>Put the release candidate up for a vote
	<ol>
		<li>Create a VOTE email thread on dev@openjpa to record votes as replies, like -
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
To: dev@
Subject: [VOTE] Apache OpenJPA 2.0.1 Release Candidate

I've created a 2.0.1 release candidate, with the following artifacts up for a vote:

SVN source tag (rXXXXXX):
https://svn.apache.org/repos/asf/openjpa/tags/2.0.1/

Maven staging repo:
https://repository.apache.org/content/repositories/orgapacheopenjpa-XXX/

Source release:
https://repository.apache.org/content/repositories/orgapacheopenjpa-XXX/org/apache/openjpa/openjpa-parent/2.0.1/openjpa-parent-2.0.1-source-release.zip

Javadoc staging site:
http://people.apache.org/~dwoods/openjpa/2.0.1/staging-site/apidocs/

PGP release keys (signed using D018E6B1):
https://svn.apache.org/repos/asf/openjpa/KEYS


Vote will be open for 72 hours.

[ ] +1  approve
[ ] +0  no opinion
[ ] -1  disapprove (and reason why)

</pre>
</div></div></li>
		<li>Create a DISCUSS email thread on dev@ for any vote questions, like -
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
To: dev@
Subject: [DISCUSS] Apache OpenJPA 2.0.1 Release Candidate

Discussion thread for vote on 2.0.1 release candidate, with SVN source tag (rXXXXXX).

For more information on the release process, checkout -
http://www.apache.org/dev/release.html
http://incubator.apache.org/guides/releasemanagement.html

Some of the things to check before voting are:
- does "mvn apache-rat:check" pass on the source
- can you build the contents of source-release.zip and svn tag
- do all of the staged jars/zips contain the required LICENSE and NOTICE files
- are all of the staged jars signed and the signature verifiable
- is the signing key in the project's KEYS file and on a public server
- does the release pass the TCK

</pre>
</div></div></li>
		<li>Perform a review of the release and cast your vote.  See the following for more
details on Apache releases -
		<ol>
			<li><a href="http://www.apache.org/dev/release.html" class="external-link" rel="nofollow">http://www.apache.org/dev/release.html</a></li>
			<li><a href="http://incubator.apache.org/guides/releasemanagement.html" class="external-link"
rel="nofollow">http://incubator.apache.org/guides/releasemanagement.html</a></li>
		</ol>
		</li>
		<li>A -1 vote does not necessarily mean that the vote must be redone, however it is
usually a good idea to rollback the release if a -1 vote is received. See - <a href="#ApacheNexusReleaseProcess%281.2.x-2.1.x%29-Recoveringfromavetoedrelease">Recovering
from a vetoed release</a></li>
		<li>After the vote has been open for at least 72 hours, has at least three +1 PMC
votes and no -1 votes, then post the results to the vote thread by -
		<ol>
			<li>reply to the initial email and prepend to the original subject -
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">[RESULTS]</pre>
</div></div></li>
			<li>Include a list of everyone who voted +1, 0 or -1.</li>
		</ol>
		</li>
	</ol>
	</li>
	<li>Finalizing a release
	<ol>
		<li>Release the staged nexus artifacts -
		<ol>
			<li><a href="https://repository.apache.org/index.html" class="external-link" rel="nofollow">https://repository.apache.org/index.html</a></li>
			<li>Build Promotion --&gt; Staging Repositories</li>
			<li>Select/check org.apache.openjpa-xxx and select Release.</li>
		</ol>
		</li>
		<li>Copy the staged site over to the openjpa/builds location on people.apache.org.
		<ol>
			<li>ssh to people.apache.org
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ mkdir /www/openjpa.apache.org/builds/2.0.1
$ cp -r ~/public_html/openjpa/2.0.1/staging-site/* /www/openjpa.apache.org/builds/2.0.1/
$ chmod -R g+w /www/openjpa.apache.org/builds/2.0.1
</pre>
</div></div></li>
			<li>Update the assemblies in the Downloads directory.<br/>
For this, we'll just wget copies of the released assemblies with their signatures and hashes
from the Apache repo:
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ cd /www/openjpa.apache.org/builds/2.0.1/apache-openjpa/downloads
wget [--no-check-certificate] https://repository.apache.org/content/repositories/releases/org/apache/openjpa/apache-openjpa/2.0.1/apache-openjpa-2.0.1-source.zip
wget [--no-check-certificate] https://repository.apache.org/content/repositories/releases/org/apache/openjpa/apache-openjpa/2.0.1/apache-openjpa-2.0.1-binary.zip
</pre>
</div></div>
<p>Along with the *.zip.asc, *.zip.md5 and *.zip.sha1 for both ZIP files above.</p></li>
			<li>verify that /www/openjpa.apache.org/builds/2.0.1/docs/manual is populated correctly
by comparing it to a previous release.
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ rm /www/openjpa.apache.org/docs/latest
$ ln -fvs ../builds/2.0.1/apache-openjpa/docs/ /www/openjpa.apache.org/docs/latest 
</pre>
</div></div></li>
		</ol>
		</li>
		<li>Copy the distribution artifacts over to the distribution area.
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
mkdir /www/www.apache.org/dist/openjpa/2.0.1
cp /www/openjpa.apache.org/builds/2.0.1/apache-openjpa/downloads/* /www/www.apache.org/dist/openjpa/2.0.1/
chgrp -R openjpa /www/www.apache.org/dist/openjpa/2.0.1
chmod -R g+w /www/www.apache.org/dist/openjpa/2.0.1
</pre>
</div></div>
		<ol>
			<li>Optional: Remove the previous version from /dist. Ie if you're publishing 2.0.1
you would remove 2.0.0.  Verify that the release being removed is in the distribution archives
before removing.
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ ls -la /www/archive.apache.org/dist/openjpa/2.0.0/
$ rm -rf /www/openjpa.apache.org/dist/openjpa/2.0.0
</pre>
</div></div></li>
		</ol>
		</li>
		<li>Update the <a href="https://issues.apache.org/jira/browse/OPENJPA" class="external-link"
rel="nofollow">JIRA Releases </a> page to mark the version as "released", and set
the date to the date that the release was approved. You may also need to make a new release
entry for the next release.</li>
	</ol>
	</li>
	<li>Update wiki pages
	<ol>
		<li>After the distribution and build files have been mirrored out to the external
sites (takes about an hour), update the <a href="/confluence/display/openjpa/Downloads"
title="Downloads">Downloads</a> and <a href="/confluence/display/openjpa/Documentation"
title="Documentation">Documentation</a> pages with the new release.</li>
		<li>Make a blog announcement on the OpenJPA wiki.
		<ul>
			<li>Go to <a href="https://cwiki.apache.org/confluence/display/openjpa/Index"
class="external-link" rel="nofollow">Confluence</a>, "+Add" -&gt; "Blog Post".</li>
		</ul>
		</li>
	</ol>
	</li>
	<li>Announcing the release
	<ol>
		<li>After the Maven mirrors have had time to update (24 hours to be on the safe side)
and the wiki updates have been exported and mirrored to the external website, then it's time
to announce the release.  Make an announcement about the release on the dev@, user@ and <a
href="mailto:announce@apache.org" class="external-link" rel="nofollow">announce@apache.org</a>
list as per <a href="http://www.apache.org/foundation/mailinglists.html#foundation-announce"
class="external-link" rel="nofollow">the Apache Announcement Mailing Lists page</a>)
<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td
valign='top'><img src="/confluence/images/icons/emoticons/warning.gif" width="16" height="16"
align="absmiddle" alt="" border="0"></td><td>Make sure you send the announcement
to announce@apache.org from your user@apache.org. This can be achieved using gmail by setting
the "From" field to user@apche.org instead of user@gmail.com when sending the announcement.</td></tr></table></div></li>
	</ol>
	</li>
</ol>


<p><br class="atl-forced-newline" /></p>

<h3><a name="ApacheNexusReleaseProcess%281.2.x-2.1.x%29-Recoveringfromavetoedrelease"></a>Recovering
from a vetoed release</h3>
<ol>
	<li>Reply to the initial vote email and prepend to the original subject -
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">[CANCELED]</pre>
</div></div></li>
	<li>Rollback the version upgrades in trunk by either -
	<ol>
		<li>Restore the 2.0.1-rc1.tar.gz and run
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ mvn -Papache-release release:rollback
</pre>
</div></div></li>
		<li>Manually revert the versions in trunk to the prior version and commit</li>
	</ol>
	</li>
	<li>Delete the svn tag created by the release:perform step -
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ svn del https://svn.apache.org/repos/asf/openjpa/tags/2.0.1 -m "rollback release attempt"
</pre>
</div></div></li>
	<li>Drop the nexus staging repo
	<ol>
		<li><a href="https://repository.apache.org/index.html" class="external-link" rel="nofollow">https://repository.apache.org/index.html</a></li>
		<li>Enterprise --&gt; Staging</li>
		<li>Staging tab --&gt; Name column --&gt; org.apache.openjpa</li>
		<li>Right click on the closed staging repo (org.apache.openjpa-XXX) and select Drop.</li>
	</ol>
	</li>
	<li>Remove the staged site
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
$ ssh ${user.name}@people.apache.org 
$ cd ~/public_html/openjpa
$ rm -fr ${project.version}
</pre>
</div></div></li>
	<li>Make the required updates that caused the vote to be canceled</li>
	<li>Spin another release candidate!</li>
</ol>


<p><br class="atl-forced-newline" /></p>

<h3><a name="ApacheNexusReleaseProcess%281.2.x-2.1.x%29-Verifyingreleasesignatures"></a><a
name="ApacheNexusReleaseProcess%281.2.x-2.1.x%29-verifySig"></a>Verifying release
signatures</h3>

<p>On unix platforms the following command can be executed -</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
for file in `find . -type f -iname '*.asc'`
do
    gpg --verify ${file} 
done
</pre>
</div></div>

<p>You'll need to look at the output to ensure it contains only good signatures -</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-none">
gpg: Good signature from ...
gpg: Signature made ...
</pre>
</div></div>

<p><br class="atl-forced-newline" /></p>
    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/openjpa/Apache+Nexus+Release+Process+%281.2.x-2.1.x%29">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=23335114&revisedVersion=29&originalVersion=28">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/openjpa/Apache+Nexus+Release+Process+%281.2.x-2.1.x%29?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message