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 Skins
Date Mon, 11 Oct 2010 20:45: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><a href="https://cwiki.apache.org/confluence/display/DIRxDEV/Releasing+Skins">Releasing
Skins</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~seelmann">Stefan
Seelmann</a>
    </h4>
        <br/>
                         <h4>Changes (5)</h4>
                                 
    
<div id="page-diffs">
            <table class="diff" cellpadding="0" cellspacing="0">
            <tr><td class="diff-unchanged" >Since we are using Nexus for releases
the release process is as follows (see also [http://www.apache.org/dev/publishing-maven-artifacts.html#staging-maven]).
<br> <br></td></tr>
            <tr><td class="diff-changed-lines" >1. Prepare the <span class="diff-changed-words"><span
class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">p</span><span
class="diff-added-chars"style="background-color: #dfd;">P</span>roject</span>
<br></td></tr>
            <tr><td class="diff-unchanged" >{noformat} <br>$ mvn release:prepare
-DdryRun=true <br>{noformat} <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >2. Deploy a <span class="diff-changed-words"><span
class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">s</span><span
class="diff-added-chars"style="background-color: #dfd;">S</span>napshot</span>
<br></td></tr>
            <tr><td class="diff-unchanged" >{noformat} <br>$ mvn deploy
<br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >This is useful to verify your settings
in ~/.m2/settings.xml (Nexus password and GPG key) <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >3. Prepare the <span class="diff-changed-words"><span
class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">r</span><span
class="diff-added-chars"style="background-color: #dfd;">R</span>elease</span>
<br></td></tr>
            <tr><td class="diff-unchanged" >{noformat} <br>$ mvn release:clean
<br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >This creates a tag here: [http://svn.apache.org/viewvc/directory/skins/tags/]
<br> <br></td></tr>
            <tr><td class="diff-changed-lines" >4. Stage the <span class="diff-changed-words"><span
class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">r</span><span
class="diff-added-chars"style="background-color: #dfd;">R</span>elease</span>
<br></td></tr>
            <tr><td class="diff-unchanged" >{noformat} <br>$ mvn release:perform
<br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >This deploys the release to a staging
repository. Go to [https://repository.apache.org/index.html#stagingRepositories] and close
the staging repository. <br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">6.
Deploy the Site <br>{noformat} <br>$ cd target/checkout <br>$ mvn site-deploy
<br>{noformat} <br> <br>This creates and deploys the site via ssh to people.apache.org/www/directory.apache.org/skins/gen-docs.
<br> <br></td></tr>
            <tr><td class="diff-unchanged" >5. Inform dev list <br>For internal
projects we use a simplified release process [http://www.mail-archive.com/dev@directory.apache.org/msg29764.html].
Inform the dev list to publish (release) the Skins project. After a 4 hr grace period the
Skins project can be released, therefor go to [https://repository.apache.org/index.html#stagingRepositories]
and release the staging repository. <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>

<p>1. Prepare the Project</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ mvn release:prepare -DdryRun=true
</pre>
</div></div>

<p>2. Deploy a Snapshot</p>
<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>

<p>3. Prepare the Release</p>
<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/skins/tags/"
class="external-link" rel="nofollow">http://svn.apache.org/viewvc/directory/skins/tags/</a></p>

<p>4. Stage the Release</p>
<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. 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>

<p>6. Deploy the Site</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ cd target/checkout
$ mvn site-deploy
</pre>
</div></div>

<p>This creates and deploys the site via ssh to people.apache.org/www/directory.apache.org/skins/gen-docs.</p>

<p>5. Inform dev list<br/>
For internal projects we use a simplified release process <a href="http://www.mail-archive.com/dev@directory.apache.org/msg29764.html"
class="external-link" rel="nofollow">http://www.mail-archive.com/dev@directory.apache.org/msg29764.html</a>.
Inform the dev list to publish (release) the Skins project. After a 4 hr grace period the
Skins project can be released, therefor 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.</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+Skins">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=23340464&revisedVersion=4&originalVersion=3">View
Changes</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message