directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Directory Development > Releasing Apache Directory LDAP API
Date Tue, 26 Feb 2013 16:59:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/9/1/_/styles/combined.css?spaceKey=DIRxDEV&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/DIRxDEV/Releasing+Apache+Directory+LDAP+API">Releasing
Apache Directory LDAP API</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~elecharny">Emmanuel
L├ęcharny</a>
    </h4>
        <br/>
                         <h4>Changes (6)</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" >{noformat} <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >This deploys the release to a
staging repository. <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">Go
to [https://repository.apache.org/index.html#stagingRepositories] and close the staging repository.</span>
<br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">Go
to [https://repository.apache.org/index.html#stagingRepositories] and close the staging repository.
<br> <br></td></tr>
            <tr><td class="diff-unchanged" >h3. 5. Build the Site <br>{noformat}
<br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" > <br>Use your PGP key ID (the
pub key, 4096R/\[XXXXXXX\] where \[XXXXXXX\] is the key ID)  <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">
<br>You can get the keys by typing : <br> <br># gpg --list-keys <br></td></tr>
            <tr><td class="diff-unchanged" >{note} <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >{noformat} <br>$ ssh people.apache.org
<br></td></tr>
            <tr><td class="diff-changed-lines" >$ mkdir <span class="diff-changed-words">public_html/<span
class="diff-added-chars"style="background-color: #dfd;">ld</span>ap<span class="diff-added-chars"style="background-color:
#dfd;">-ap</span>i-&lt;version&gt;</span> <br></td></tr>
            <tr><td class="diff-unchanged" >$ exit <br>{noformat} <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >{noformat} <br>$ cd distributions/target
<br></td></tr>
            <tr><td class="diff-changed-lines" >$ scp apache-ldap-api-&lt;version&gt;-*
<span class="diff-changed-words">people.apache.org:public_html/<span class="diff-added-chars"style="background-color:
#dfd;">ld</span>ap<span class="diff-added-chars"style="background-color: #dfd;">-ap</span>i-&lt;version&gt;/</span>
<br></td></tr>
            <tr><td class="diff-unchanged" >{noformat} <br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">Update
your index.html file on people.apach.org/public_html to make the packages visible. Here is
an example of possible content : <br> <br>{noformat} <br>&lt;h2&gt;Last
Directory LDAP API 1.0.0-M16 tarballs&lt;/h2&gt; <br>  &lt;a href=&quot;ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-bin.tar.gz&quot;&gt;apache-ldap-api-1.0.0-M16-bin.tar.gz&lt;/a&gt;&lt;br/&gt;
<br>  &lt;a href=&quot;ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-bin.tar.gz.asc&quot;&gt;apache-ldap-api-1.0.0-M16-bin.tar.gz.asc&lt;/a&gt;&lt;br/&gt;
<br>  &lt;a href=&quot;ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-bin.tar.gz.md5&quot;&gt;apache-ldap-api-1.0.0-M16-bin.tar.gz.md5&lt;/a&gt;&lt;br/&gt;
<br>  &lt;a href=&quot;ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-bin.tar.gz.sha1&quot;&gt;apache-ldap-api-1.0.0-M16-bin.tar.gz.sha1&lt;/a&gt;&lt;br/&gt;
<br>  &lt;a href=&quot;ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-bin.zip&quot;&gt;apache-ldap-api-1.0.0-M16-bin.zip&lt;/a&gt;&lt;br/&gt;
<br>  &lt;a href=&quot;ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-bin.zip.asc&quot;&gt;apache-ldap-api-1.0.0-M16-bin.zip.asc&lt;/a&gt;&lt;br/&gt;
<br>  &lt;a href=&quot;ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-bin.zip.md5&quot;&gt;apache-ldap-api-1.0.0-M16-bin.zip.md5&lt;/a&gt;&lt;br/&gt;
<br>  &lt;a href=&quot;ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-bin.zip.sha1&quot;&gt;apache-ldap-api-1.0.0-M16-bin.zip.sha1&lt;/a&gt;&lt;br/&gt;
<br>  &lt;a href=&quot;ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-src.tar.gz&quot;&gt;apache-ldap-api-1.0.0-M16-src.tar.gz&lt;/a&gt;&lt;br/&gt;
<br>  &lt;a href=&quot;ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-src.tar.gz.asc&quot;&gt;apache-ldap-api-1.0.0-M16-src.tar.gz.asc&lt;/a&gt;&lt;br/&gt;
<br>  &lt;a href=&quot;ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-src.tar.gz.md5&quot;&gt;apache-ldap-api-1.0.0-M16-src.tar.gz.md5&lt;/a&gt;&lt;br/&gt;
<br>  &lt;a href=&quot;ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-src.tar.gz.sha1&quot;&gt;apache-ldap-api-1.0.0-M16-src.tar.gz.sha1&lt;/a&gt;&lt;br/&gt;
<br>  &lt;a href=&quot;ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-src.zip&quot;&gt;apache-ldap-api-1.0.0-M16-src.zip&lt;/a&gt;&lt;br/&gt;
<br>  &lt;a href=&quot;ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-src.zip.asc&quot;&gt;apache-ldap-api-1.0.0-M16-src.zip.asc&lt;/a&gt;&lt;br/&gt;
<br>  &lt;a href=&quot;ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-src.zip.md5&quot;&gt;apache-ldap-api-1.0.0-M16-src.zip.md5&lt;/a&gt;&lt;br/&gt;
<br>  &lt;a href=&quot;ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-src.zip.sha1&quot;&gt;apache-ldap-api-1.0.0-M16-src.zip.sha1&lt;/a&gt;&lt;br/&gt;
<br>  &lt;a href=&quot;ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16.pom&quot;&gt;apache-ldap-api-1.0.0-M16.pom&lt;/a&gt;&lt;br/&gt;
<br>  &lt;a href=&quot;ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16.pom.asc&quot;&gt;apache-ldap-api-1.0.0-M16.pom.asc&lt;/a&gt;&lt;br/&gt;
<br> <br>{noformat} <br> <br></td></tr>
            <tr><td class="diff-unchanged" >h3. 7. Test the New Version in ApacheDS
and Studio <br>In apacheds/pom.xml change the _&lt;org.apache.directory.shared.version&gt;_
property, build ApacheDS, go into apacheds/service, and run _./apachds.sh_ to start the server.
<br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <p>Since we are using Nexus for releases the release process is as follows (see
also <a href="http://www.apache.org/dev/publishing-maven-artifacts.html#staging-maven"
class="external-link" rel="nofollow">http://www.apache.org/dev/publishing-maven-artifacts.html#staging-maven</a>).</p>

<h3><a name="ReleasingApacheDirectoryLDAPAPI-1.TesttheProject"></a>1. Test
the Project</h3>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ mvn release:prepare -DdryRun=true
</pre>
</div></div>

<p>Be aware that this phase will ask you about the next version, and most important,
for the next SCM tag :</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>...
[INFO] Checking dependencies and plugins for snapshots ...
What is the release version for "Apache Directory LDAP API"? (org.apache.directory.api:api-parent)
1.0.0-M16: : 
What is the release version for "Apache Directory LDAP API I18n"? (org.apache.directory.api:api-i18n)
1.0.0-M16: : 
What is the release version for "Apache Directory LDAP API Utilities"? (org.apache.directory.api:api-util)
1.0.0-M16: : 
...
What is SCM release tag or label for "Apache Directory LDAP API"? (org.apache.directory.api:api-parent)
1.0.0-M16: :
...
</pre>
</div></div>


<h3><a name="ReleasingApacheDirectoryLDAPAPI-2.DeployaSnapshot"></a>2. Deploy
a Snapshot</h3>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ mvn deploy
</pre>
</div></div>

<p>This is useful to verify your settings in ~/.m2/settings.xml (Nexus password and
GPG key)</p>

<h3><a name="ReleasingApacheDirectoryLDAPAPI-3.PreparetheRelease"></a>3.
Prepare the Release</h3>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ mvn release:clean
$ mvn release:prepare
</pre>
</div></div>

<p>This creates a tag here: <a href="http://svn.apache.org/viewvc/directory/shared/tags/"
class="external-link" rel="nofollow">http://svn.apache.org/viewvc/directory/shared/tags/</a></p>

<h3><a name="ReleasingApacheDirectoryLDAPAPI-4.StagetheRelease"></a>4. Stage
the Release</h3>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ mvn release:perform
</pre>
</div></div>

<p>This deploys the release to a staging repository. </p>

<p>Go to <a href="https://repository.apache.org/index.html#stagingRepositories" class="external-link"
rel="nofollow">https://repository.apache.org/index.html#stagingRepositories</a> and
close the staging repository.</p>

<h3><a name="ReleasingApacheDirectoryLDAPAPI-5.BuildtheSite"></a>5. Build
the Site</h3>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ cd target/checkout
$ mvn site
</pre>
</div></div>

<p>This creates the site.</p>

<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>Now, you have to sign the binary
packages which are in target/checkout/distribution/target.

<p>Use your PGP key ID (the pub key, 4096R/[XXXXXXX] where [XXXXXXX] is the key ID)
</p>

<p>You can get the keys by typing :</p>

<ol>
	<li>gpg --list-keys</li>
</ol>
</td></tr></table></div>

<h3><a name="ReleasingApacheDirectoryLDAPAPI-6.PublishSourceandBinaryDistributionPackages"></a>6.
Publish Source and Binary Distribution Packages</h3>
<p>First of all, create a new directory on people.apache.org/public_html to store the
pacckages :</p>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ ssh people.apache.org
$ mkdir public_html/ldap-api-&lt;version&gt;
$ exit
</pre>
</div></div>

<p>Then copy the packages :</p>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ cd distributions/target
$ scp apache-ldap-api-&lt;version&gt;-* people.apache.org:public_html/ldap-api-&lt;version&gt;/
</pre>
</div></div>

<p>Update your index.html file on people.apach.org/public_html to make the packages
visible. Here is an example of possible content :</p>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>&lt;h2&gt;Last Directory LDAP API 1.0.0-M16 tarballs&lt;/h2&gt;
  &lt;a href="ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-bin.tar.gz"&gt;apache-ldap-api-1.0.0-M16-bin.tar.gz&lt;/a&gt;&lt;br/&gt;
  &lt;a href="ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-bin.tar.gz.asc"&gt;apache-ldap-api-1.0.0-M16-bin.tar.gz.asc&lt;/a&gt;&lt;br/&gt;
  &lt;a href="ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-bin.tar.gz.md5"&gt;apache-ldap-api-1.0.0-M16-bin.tar.gz.md5&lt;/a&gt;&lt;br/&gt;
  &lt;a href="ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-bin.tar.gz.sha1"&gt;apache-ldap-api-1.0.0-M16-bin.tar.gz.sha1&lt;/a&gt;&lt;br/&gt;
  &lt;a href="ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-bin.zip"&gt;apache-ldap-api-1.0.0-M16-bin.zip&lt;/a&gt;&lt;br/&gt;
  &lt;a href="ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-bin.zip.asc"&gt;apache-ldap-api-1.0.0-M16-bin.zip.asc&lt;/a&gt;&lt;br/&gt;
  &lt;a href="ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-bin.zip.md5"&gt;apache-ldap-api-1.0.0-M16-bin.zip.md5&lt;/a&gt;&lt;br/&gt;
  &lt;a href="ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-bin.zip.sha1"&gt;apache-ldap-api-1.0.0-M16-bin.zip.sha1&lt;/a&gt;&lt;br/&gt;
  &lt;a href="ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-src.tar.gz"&gt;apache-ldap-api-1.0.0-M16-src.tar.gz&lt;/a&gt;&lt;br/&gt;
  &lt;a href="ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-src.tar.gz.asc"&gt;apache-ldap-api-1.0.0-M16-src.tar.gz.asc&lt;/a&gt;&lt;br/&gt;
  &lt;a href="ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-src.tar.gz.md5"&gt;apache-ldap-api-1.0.0-M16-src.tar.gz.md5&lt;/a&gt;&lt;br/&gt;
  &lt;a href="ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-src.tar.gz.sha1"&gt;apache-ldap-api-1.0.0-M16-src.tar.gz.sha1&lt;/a&gt;&lt;br/&gt;
  &lt;a href="ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-src.zip"&gt;apache-ldap-api-1.0.0-M16-src.zip&lt;/a&gt;&lt;br/&gt;
  &lt;a href="ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-src.zip.asc"&gt;apache-ldap-api-1.0.0-M16-src.zip.asc&lt;/a&gt;&lt;br/&gt;
  &lt;a href="ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-src.zip.md5"&gt;apache-ldap-api-1.0.0-M16-src.zip.md5&lt;/a&gt;&lt;br/&gt;
  &lt;a href="ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16-src.zip.sha1"&gt;apache-ldap-api-1.0.0-M16-src.zip.sha1&lt;/a&gt;&lt;br/&gt;
  &lt;a href="ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16.pom"&gt;apache-ldap-api-1.0.0-M16.pom&lt;/a&gt;&lt;br/&gt;
  &lt;a href="ldap-api-1.0.0-M16/apache-ldap-api-1.0.0-M16.pom.asc"&gt;apache-ldap-api-1.0.0-M16.pom.asc&lt;/a&gt;&lt;br/&gt;

</pre>
</div></div>

<h3><a name="ReleasingApacheDirectoryLDAPAPI-7.TesttheNewVersioninApacheDSandStudio"></a>7.
Test the New Version in ApacheDS and Studio</h3>
<p>In apacheds/pom.xml change the <em>&lt;org.apache.directory.shared.version&gt;</em>
property, build ApacheDS, go into apacheds/service, and run <em>./apachds.sh</em>
to start the server.</p>

<p>In studio/pom.xml change the <em>&lt;org.apache.directory.shared.version&gt;</em>
and <em>&lt;org.apache.directory.shared.validversion&gt;</em> properties,
build Studio, and start Studio in applications/applications_&lt;your platform&gt;/target/ApacheDirectoryStudio-&lt;your
platform&gt;/&lt;executable&gt;. Connect to the started ApacheDS.</p>

<h3><a name="ReleasingApacheDirectoryLDAPAPI-8.Vote"></a>8. Vote</h3>
<p>Start a 72h vote at the dev mailing list.</p>

<h3><a name="ReleasingApacheDirectoryLDAPAPI-9.Release"></a>9. Release</h3>
<p>If the vote succeeds LDAP API project can be released.</p>

<p>Go to <a href="https://repository.apache.org/index.html#stagingRepositories" class="external-link"
rel="nofollow">https://repository.apache.org/index.html#stagingRepositories</a> and
release the staging repository so all artifacts are published to Maven central.</p>

<p>Move the distribution packages to the dist SVN repository: <a href="https://dist.apache.org/repos/dist/release/directory/api/dist/$(version"
class="external-link" rel="nofollow">https://dist.apache.org/repos/dist/release/directory/api/dist/$(version</a>)<br/>
Move the sources releases to the dist SVN repository: <a href="https://dist.apache.org/repos/dist/release/directory/api/$(version"
class="external-link" rel="nofollow">https://dist.apache.org/repos/dist/release/directory/api/$(version</a>)</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/DIRxDEV/Releasing+Apache+Directory+LDAP+API">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=55388&revisedVersion=19&originalVersion=18">View
Changes</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message