You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by bu...@apache.org on 2016/02/15 00:45:59 UTC

svn commit: r980425 - in /websites/staging/mina/trunk/content: ./ mina-project/developer-guide.html

Author: buildbot
Date: Sun Feb 14 23:45:59 2016
New Revision: 980425

Log:
Staging update by buildbot for mina

Modified:
    websites/staging/mina/trunk/content/   (props changed)
    websites/staging/mina/trunk/content/mina-project/developer-guide.html

Propchange: websites/staging/mina/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Feb 14 23:45:59 2016
@@ -1 +1 @@
-1730431
+1730433

Modified: websites/staging/mina/trunk/content/mina-project/developer-guide.html
==============================================================================
--- websites/staging/mina/trunk/content/mina-project/developer-guide.html (original)
+++ websites/staging/mina/trunk/content/mina-project/developer-guide.html Sun Feb 14 23:45:59 2016
@@ -347,7 +347,7 @@ $ <span class="n">mvn</span> <span class
 
 <p>Then some other questions will be asked, about the next version to use. The default values should be fine.</p>
 <DIV class="info" markdown="1">
-**Be Careful**
+<strong>Be Careful<strong><br>
 
 Make sure the change made by the release plugin is correct! (pom.xml, tags created)
 </DIV>
@@ -370,8 +370,10 @@ $ <span class="n">mvn</span> <span class
 
 <p>The first mail tells you that the SNAPSHOT has been moved to the release version in trunk, the second mails tells you that this version has been tagged, and the last mail tells you that trunk has moved to the next version.</p>
 <h3 id="step-4-perform-the-release">Step 4 : perform the release<a class="headerlink" href="#step-4-perform-the-release" title="Permanent link">&para;</a></h3>
-<p>The last step before launching a vote is to push the potential release to Nexus so that every user can test the created packages. Perform the following actions</p>
-<div class="codehilite"><pre>$ <span class="n">mvn</span> <span class="o">-</span><span class="n">Pserial</span><span class="p">,</span><span class="n">apache</span><span class="o">-</span><span class="n">release</span> <span class="n">release</span><span class="p">:</span><span class="n">perform</span>
+<p>The last step before launching a vote is to push the potential release to Nexus so that every user can test the created packages. Perform the following actions (note that we have to run a build first for teh javadoc to be correctly generated...) :</p>
+<div class="codehilite"><pre>$ <span class="n">mvn</span> <span class="n">clean</span> <span class="n">install</span> <span class="o">-</span><span class="n">Pserial</span> <span class="o">-</span><span class="n">DskipTests</span>
+<span class="p">...</span>
+$ <span class="n">mvn</span> <span class="o">-</span><span class="n">Pserial</span><span class="p">,</span><span class="n">apache</span><span class="o">-</span><span class="n">release</span> <span class="n">release</span><span class="p">:</span><span class="n">perform</span>
 <span class="p">...</span>
 <span class="p">[</span><span class="n">INFO</span><span class="p">]</span> <span class="p">[</span><span class="n">INFO</span><span class="p">]</span> <span class="o">------------------------------------------------------------------------</span>
 <span class="p">[</span><span class="n">INFO</span><span class="p">]</span> <span class="p">[</span><span class="n">INFO</span><span class="p">]</span> <span class="n">Reactor</span> <span class="n">Summary</span><span class="p">:</span>
@@ -410,11 +412,30 @@ $ <span class="n">mvn</span> <span class
 
 <p>Done !</p>
 <h3 id="step-5-closing-the-staging-release-on-nexus">Step 5 : closing the staging release on nexus<a class="headerlink" href="#step-5-closing-the-staging-release-on-nexus" title="Permanent link">&para;</a></h3>
-<p>Now, you have to close the staged project on nexus. In order to do that you <em>must</em> have exported your PGP key to a PGP public server <a href="http://www.apache.org/dev/openpgp.html">see</a></p>
-<p>Connect to the Nexus server (https://repository.apache.org), login, and select the MINA staging repository you just created, then click on the 'close' button. You are home...</p>
+<p>Now, you have to close the staged project on nexus. In order to do that you <strong>must</strong> have exported your PGP key to a PGP public server <a href="http://www.apache.org/dev/openpgp.html">see</a></p>
+<p>Connect to the <a href="https://repository.apache.org">Nexus server</a>, login, and select the MINA staging repository you just created, then click on the 'close' button. You are home...</p>
 <h3 id="step-6-build-the-site">Step 6 : Build the Site<a class="headerlink" href="#step-6-build-the-site" title="Permanent link">&para;</a></h3>
-<div class="codehilite"><pre>$ <span class="n">cd</span> <span class="n">target</span><span class="o">/</span><span class="n">checkout</span>
-$ <span class="n">mvn</span> <span class="o">-</span><span class="n">Pserial</span> <span class="n">site</span>
+<p>You will need to modify the <strong>pom.xml</strong> file to be able to run the <strong>mvn site</strong> command. Actually, you have to comment the executions part of the maven JXF plugin in the <strong>maven-site-plugin</strong> configuration :</p>
+<div class="codehilite"><pre><span class="nt">&lt;plugin&gt;</span>
+  <span class="nt">&lt;artifactId&gt;</span>maven-jxr-plugin<span class="nt">&lt;/artifactId&gt;</span>
+  <span class="nt">&lt;configuration&gt;</span>
+    <span class="nt">&lt;aggregate&gt;</span>true<span class="nt">&lt;/aggregate&gt;</span>
+  <span class="nt">&lt;/configuration&gt;</span>
+
+  <span class="c">&lt;!--executions&gt;</span>
+<span class="c">    &lt;execution&gt;</span>
+<span class="c">      &lt;phase&gt;install&lt;/phase&gt;</span>
+<span class="c">      &lt;goals&gt;</span>
+<span class="c">        &lt;goal&gt;jxr&lt;/goal&gt;</span>
+<span class="c">        &lt;goal&gt;test-jxr&lt;/goal&gt;</span>
+<span class="c">      &lt;/goals&gt;</span>
+<span class="c">    &lt;/execution&gt;</span>
+<span class="c">  &lt;/executions --&gt;</span>
+<span class="nt">&lt;/plugin&gt;</span>
+
+
+$ cd target/checkout
+$ mvn -Pserial site
 </pre></div>