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 Daemon
Date Tue, 12 Oct 2010 11:42:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/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><s>Releasing Daemon</s></h2>
     <h4>Page <b>removed</b> by             <a href="https://cwiki.apache.org/confluence/display/~seelmann">Stefan
Seelmann</a>
    </h4>
     <br/>
     <div class="notificationGreySide">
         <p>For these examples we'll presume a release on the 1.0 branch of daemon.
For releases on the trunk or on other branches change the svn checkout line to accomodate.</p>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ svn co https://svn.apache.org/repos/asf/directory/daemon/branches/1.0 daemon
$ cd daemon
$ mvn -Prelease -DdryRun=true release:prepare    # Dry-run first.  
... 
... Make sure the change made by the release plugin is correct!
...
$ mvn release:clean      # Clean up the temporary files created by the dry-run.
$ mvn -Prelease release:prepare    # Copy to tags directory.
$ mvn -Prelease release:perform    # Upload the released artifacts to the maven repository.
... 
... Make sure the jars/poms and their signature files are properly deployed to the m2-ibiblio-sync

... repository on people.apache.org before running the clean goal or else you cannot rollback
the
... release.
...
$ mvn release:clean      # Clean up the temporary files.
</pre>
</div></div>

<div class='panelMacro'><table class='warningMacro'><colgroup><col width='24'><col></colgroup><tr><td
valign='top'><img src="/confluence/images/icons/emoticons/forbidden.gif" width="16"
height="16" align="absmiddle" alt="" border="0"></td><td>During the prepare
goal's execution you'll be asked a number of questions.  Please pay close attention to each
question instead of hitting return everytime.  In particular there is a question about what
you want to call the tag.  If you do not specify the correct tag which should be the release
number 1.0.2 for example, maven will use build-1.0.2 instead without the <b>build-</b>
prefix.  We don't want that so pay attention.  Look here if you have any questins regarding
what release tags should be for the daemon subproject: 

<p><a href="http://svn.apache.org/viewvc/directory/daemon/tags" class="external-link"
rel="nofollow">http://svn.apache.org/viewvc/directory/daemon/tags</a></p></td></tr></table></div>

<p>These commands will build, tag, sign, and deploy daemon artifacts and their signature
files to the repository. Check the following URLs during different stages of the process to
see Maven at work:</p>

<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Stage</th>
<th class='confluenceTh'>URL</th>
</tr>
<tr>
<td class='confluenceTd'>after release:prepare</td>
<td class='confluenceTd'> <a href="http://svn.apache.org/viewvc/directory/daemon/tags"
class="external-link" rel="nofollow">http://svn.apache.org/viewvc/directory/daemon/tags</a>
</td>
</tr>
<tr>
<td class='confluenceTd'>during release:perform</td>
<td class='confluenceTd'> <a href="http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/directory/daemon/"
class="external-link" rel="nofollow">http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/directory/daemon/</a>
</td>
</tr>
</tbody></table>
</div>













<p>For these examples we'll presume a release on the 1.0 branch of the daemon project.
For <br/>
releases on the trunk or on other branches change the svn checkout line to accomodate.</p>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ svn co https://svn.apache.org/repos/asf/directory/daemon/branches/1.0 daemon
$ cd daemon
$ mvn -Prelease -DdryRun=true release:prepare    # Dry-run first.  
... 
... Make sure the change made by the release plugin is correct!
...
$ mvn release:clean      # Clean up the temporary files created by the dry-run.
$ mvn -Prelease release:prepare    # Copy to tags directory.
$ mvn -Prelease release:perform    # Upload the released artifacts to the maven repository.
... 
... Make sure the jars/poms and their signature files are properly deployed to the m2-ibiblio-sync

... repository on people.apache.org before running the clean goal or else you cannot rollback
the
... release.
...
$ mvn release:clean      # Clean up the temporary files.
</pre>
</div></div>

<p>These commands will build, sign, and deploy artifacts and their signature files to
the repository.</p>

     </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message