geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Geronimo Project Management > Geronimo 2.1.7 Release Process
Date Tue, 30 Nov 2010 07:21:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/9/1/_/styles/combined.css?spaceKey=GMOxPMGT&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/GMOxPMGT/Geronimo+2.1.7+Release+Process">Geronimo
2.1.7 Release Process</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~rwonly">Rex
Wang</a>
    </h4>
        <br/>
                         <h4>Changes (8)</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" >h3. 2. Use Maven 2.2.1 <br>
<br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">edit
its settings.xml to setup apache release and snapshot repo passphass <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">*
Enable Apache Servers (refer: [http://maven.apache.org/developers/committer-settings.html])
<br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">{code:xml}
<br>&lt;settings&gt; <br>... <br>  &lt;servers&gt; <br>
   &lt;!-- To publish a snapshot of some part of Maven --&gt; <br>    &lt;server&gt;
<br>      &lt;id&gt;apache.snapshots.https&lt;/id&gt; <br>   
  &lt;username&gt; &lt;!-- YOUR APACHE LDAP USERNAME --&gt; &lt;/username&gt;
<br>      &lt;password&gt; &lt;!-- YOUR APACHE LDAP PASSWORD --&gt;
&lt;/password&gt; <br>    &lt;/server&gt; <br>    &lt;!--
To publish a website of some part of Maven --&gt; <br>    &lt;server&gt;
<br>      &lt;id&gt;apache.website&lt;/id&gt; <br>      &lt;username&gt;
&lt;!-- YOUR APACHE LDAP USERNAME --&gt; &lt;/username&gt; <br>    
 &lt;filePermissions&gt;664&lt;/filePermissions&gt; <br>      &lt;directoryPermissions&gt;775&lt;/directoryPermissions&gt;
<br>    &lt;/server&gt; <br>    &lt;!-- To stage a release of some
part of Maven --&gt; <br>    &lt;server&gt; <br>      &lt;id&gt;apache.releases.https&lt;/id&gt;
<br>      &lt;username&gt; &lt;!-- YOUR APACHE LDAP USERNAME --&gt;
&lt;/username&gt; <br>      &lt;password&gt; &lt;!-- YOUR APACHE
LDAP PASSWORD --&gt; &lt;/password&gt; <br>    &lt;/server&gt; <br>
   &lt;!-- To stage a website of some part of Maven --&gt; <br>    &lt;server&gt;
<br>      &lt;id&gt;stagingSite&lt;/id&gt; &lt;!-- must match hard-coded
repository identifier in site:stage-deploy --&gt; <br>      &lt;username&gt;
&lt;!-- YOUR APACHE LDAP USERNAME --&gt; &lt;/username&gt; <br>    
 &lt;filePermissions&gt;664&lt;/filePermissions&gt; <br>      &lt;directoryPermissions&gt;775&lt;/directoryPermissions&gt;
<br>    &lt;/server&gt; <br>    ... <br>  &lt;/servers&gt;
<br>&lt;/settings&gt; <br>{code} <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">reference:
<br>It is highly recommended to use Maven&#39;s password encryption capabilities
for your passwords. <br>http://maven.apache.org/guides/mini/guide-encryption.html <br>
<br></td></tr>
            <tr><td class="diff-unchanged" >h3. 3. Setup PGP Keys (for the ones
who be the release manager the first time) <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">*
Download gnupg2 <br>* Generate your PGP Key (refer: [http://www.apache.org/dev/openpgp.html])
so that maven-release-plugin can sign your built artifacts when do release:perform <br>**
How To Avoid SHA-1 <br>** How To Generate a Strong Key <br>* Update Maven&#39;s
settings.xml with following: <br>{code:xml} <br>&lt;settings&gt; <br>
 ... <br>  &lt;profiles&gt; <br>    &lt;profile&gt; <br>
     &lt;id&gt;apache-release&lt;/id&gt; <br>      &lt;properties&gt;
<br>        &lt;gpg.passphrase&gt; &lt;!-- YOUR KEY PASSPHRASE --&gt;
&lt;/gpg.passphrase&gt; <br>      &lt;/properties&gt; <br>   
&lt;/profile&gt; <br>  &lt;/profiles&gt; <br>  ... <br>&lt;/settings&gt;
<br>{code} <br>reference: <br>[http://maven.apache.org/developers/release/apache-release.html]
<br>[http://maven.apache.org/developers/release/pmc-gpg-keys.html] <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">generate
the keys so that release-plugin can sign your built artifacts when do release:perform <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">*
Meanwhile, append your public key to https://svn.apache.org/repos/asf/geronimo/KEYS and people.apache.org:/www/www.apache.org/dist/geronimo/KEYS
so that user can verify the artifacts you released. <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">meanwhile,
append your key to \[https://svn.apache.org/repos/asf/geronimo/KEYS\] and people.apache.org:/www/www.apache.org/dist/geronimo/KEYS
<br></td></tr>
        </table>
</div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h2><a name="Geronimo2.1.7ReleaseProcess-Prerequisite"></a>Prerequisite</h2>

<p>ref <a href="/confluence/display/GMOxPMGT/Geronimo+2.1.5+Release+Tips" title="Geronimo
2.1.5 Release Tips">Geronimo 2.1.5 Release Tips</a></p>


<h3><a name="Geronimo2.1.7ReleaseProcess-1.UseGenesis2.0asaparentpom"></a>1.
Use Genesis 2.0 as a parent pom</h3>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-xml">
<span class="code-tag">&lt;parent&gt;</span>
  <span class="code-tag">&lt;groupId&gt;</span>org.apache.geronimo.genesis<span
class="code-tag">&lt;/groupId&gt;</span>
  <span class="code-tag">&lt;artifactId&gt;</span>genesis-java5-flava<span
class="code-tag">&lt;/artifactId&gt;</span>
  <span class="code-tag">&lt;version&gt;</span>2.0<span class="code-tag">&lt;/version&gt;</span>
<span class="code-tag">&lt;/parent&gt;</span>
</pre>
</div></div>

<ul>
	<li>genesis-java5-flava-2.0.pom
	<ul>
		<li>genesis-default-flava-2.0.pom
		<ul>
			<li>genesis-2.0.pom
			<ul>
				<li>apache-6.pom</li>
			</ul>
			</li>
		</ul>
		</li>
	</ul>
	</li>
</ul>


<h3><a name="Geronimo2.1.7ReleaseProcess-2.UseMaven2.2.1"></a>2. Use Maven
2.2.1</h3>

<ul>
	<li>Enable Apache Servers (refer: <a href="http://maven.apache.org/developers/committer-settings.html"
class="external-link" rel="nofollow">http://maven.apache.org/developers/committer-settings.html</a>)</li>
</ul>


<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-xml">
<span class="code-tag">&lt;settings&gt;</span>
...
  <span class="code-tag">&lt;servers&gt;</span>
    <span class="code-tag"><span class="code-comment">&lt;!-- To publish a
snapshot of some part of Maven --&gt;</span></span>
    <span class="code-tag">&lt;server&gt;</span>
      <span class="code-tag">&lt;id&gt;</span>apache.snapshots.https<span
class="code-tag">&lt;/id&gt;</span>
      <span class="code-tag">&lt;username&gt;</span> <span class="code-tag"><span
class="code-comment">&lt;!-- YOUR APACHE LDAP USERNAME --&gt;</span></span>
<span class="code-tag">&lt;/username&gt;</span>
      <span class="code-tag">&lt;password&gt;</span> <span class="code-tag"><span
class="code-comment">&lt;!-- YOUR APACHE LDAP PASSWORD --&gt;</span></span>
<span class="code-tag">&lt;/password&gt;</span>
    <span class="code-tag">&lt;/server&gt;</span>
    <span class="code-tag"><span class="code-comment">&lt;!-- To publish a
website of some part of Maven --&gt;</span></span>
    <span class="code-tag">&lt;server&gt;</span>
      <span class="code-tag">&lt;id&gt;</span>apache.website<span class="code-tag">&lt;/id&gt;</span>
      <span class="code-tag">&lt;username&gt;</span> <span class="code-tag"><span
class="code-comment">&lt;!-- YOUR APACHE LDAP USERNAME --&gt;</span></span>
<span class="code-tag">&lt;/username&gt;</span>
      <span class="code-tag">&lt;filePermissions&gt;</span>664<span
class="code-tag">&lt;/filePermissions&gt;</span>
      <span class="code-tag">&lt;directoryPermissions&gt;</span>775<span
class="code-tag">&lt;/directoryPermissions&gt;</span>
    <span class="code-tag">&lt;/server&gt;</span>
    <span class="code-tag"><span class="code-comment">&lt;!-- To stage a release
of some part of Maven --&gt;</span></span>
    <span class="code-tag">&lt;server&gt;</span>
      <span class="code-tag">&lt;id&gt;</span>apache.releases.https<span
class="code-tag">&lt;/id&gt;</span>
      <span class="code-tag">&lt;username&gt;</span> <span class="code-tag"><span
class="code-comment">&lt;!-- YOUR APACHE LDAP USERNAME --&gt;</span></span>
<span class="code-tag">&lt;/username&gt;</span>
      <span class="code-tag">&lt;password&gt;</span> <span class="code-tag"><span
class="code-comment">&lt;!-- YOUR APACHE LDAP PASSWORD --&gt;</span></span>
<span class="code-tag">&lt;/password&gt;</span>
    <span class="code-tag">&lt;/server&gt;</span>
    <span class="code-tag"><span class="code-comment">&lt;!-- To stage a website
of some part of Maven --&gt;</span></span>
    <span class="code-tag">&lt;server&gt;</span>
      <span class="code-tag">&lt;id&gt;</span>stagingSite<span class="code-tag">&lt;/id&gt;</span>
<span class="code-tag"><span class="code-comment">&lt;!-- must match hard-coded
repository identifier in site:stage-deploy --&gt;</span></span>
      <span class="code-tag">&lt;username&gt;</span> <span class="code-tag"><span
class="code-comment">&lt;!-- YOUR APACHE LDAP USERNAME --&gt;</span></span>
<span class="code-tag">&lt;/username&gt;</span>
      <span class="code-tag">&lt;filePermissions&gt;</span>664<span
class="code-tag">&lt;/filePermissions&gt;</span>
      <span class="code-tag">&lt;directoryPermissions&gt;</span>775<span
class="code-tag">&lt;/directoryPermissions&gt;</span>
    <span class="code-tag">&lt;/server&gt;</span>
    ...
  <span class="code-tag">&lt;/servers&gt;</span>
<span class="code-tag">&lt;/settings&gt;</span>
</pre>
</div></div>

<p>reference:<br/>
It is highly recommended to use Maven's password encryption capabilities for your passwords.
<a href="http://maven.apache.org/guides/mini/guide-encryption.html" class="external-link"
rel="nofollow">http://maven.apache.org/guides/mini/guide-encryption.html</a></p>

<h3><a name="Geronimo2.1.7ReleaseProcess-3.SetupPGPKeys%28fortheoneswhobethereleasemanagerthefirsttime%29"></a>3.
Setup PGP Keys (for the ones who be the release manager the first time)</h3>
<ul>
	<li>Download gnupg2</li>
	<li>Generate your PGP Key (refer: <a href="http://www.apache.org/dev/openpgp.html"
class="external-link" rel="nofollow">http://www.apache.org/dev/openpgp.html</a>)
so that maven-release-plugin can sign your built artifacts when do release:perform
	<ul>
		<li>How To Avoid SHA-1</li>
		<li>How To Generate a Strong Key</li>
	</ul>
	</li>
	<li>Update Maven's settings.xml with following:
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-xml">
<span class="code-tag">&lt;settings&gt;</span>
  ...
  <span class="code-tag">&lt;profiles&gt;</span>
    <span class="code-tag">&lt;profile&gt;</span>
      <span class="code-tag">&lt;id&gt;</span>apache-release<span class="code-tag">&lt;/id&gt;</span>
      <span class="code-tag">&lt;properties&gt;</span>
        <span class="code-tag">&lt;gpg.passphrase&gt;</span> <span
class="code-tag"><span class="code-comment">&lt;!-- YOUR KEY PASSPHRASE --&gt;</span></span>
<span class="code-tag">&lt;/gpg.passphrase&gt;</span>
      <span class="code-tag">&lt;/properties&gt;</span>
    <span class="code-tag">&lt;/profile&gt;</span>
  <span class="code-tag">&lt;/profiles&gt;</span>
  ...
<span class="code-tag">&lt;/settings&gt;</span>
</pre>
</div></div>
<p>reference:<br/>
<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><br/>
<a href="http://maven.apache.org/developers/release/pmc-gpg-keys.html" class="external-link"
rel="nofollow">http://maven.apache.org/developers/release/pmc-gpg-keys.html</a></p></li>
</ul>


<ul>
	<li>Meanwhile, append your public key to <a href="https://svn.apache.org/repos/asf/geronimo/KEYS"
class="external-link" rel="nofollow">https://svn.apache.org/repos/asf/geronimo/KEYS</a>
and people.apache.org:/www/www.apache.org/dist/geronimo/KEYS so that user can verify the artifacts
you released.</li>
</ul>


    </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/GMOxPMGT/Geronimo+2.1.7+Release+Process">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=24188307&revisedVersion=3&originalVersion=2">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/GMOxPMGT/Geronimo+2.1.7+Release+Process?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message