This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/mina-site.git
The following commit(s) were added to refs/heads/asf-site by this push: new 772f507 Updated site from master (52958c5a6dad2bdacb1628b3a537402c7910115e) 772f507 is described below commit 772f5077d389a65dcf40cc184b08f020113198ca Author: jenkins <bui...@apache.org> AuthorDate: Thu Mar 17 08:01:42 2022 +0000 Updated site from master (52958c5a6dad2bdacb1628b3a537402c7910115e) --- content/index.xml | 2 +- content/mina-project/developer-guide.html | 26 ++++++++++++++------------ content/mina-project/index.xml | 2 +- content/sitemap.xml | 4 ++-- 4 files changed, 18 insertions(+), 16 deletions(-) diff --git a/content/index.xml b/content/index.xml index a56c2d7..7e7fdb6 100644 --- a/content/index.xml +++ b/content/index.xml @@ -1099,7 +1099,7 @@ Why use a ProtocolCodecFilter? TCP guarantees delivery of all packets in the co <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> <guid>https://mina.apache.org/mina-project/developer-guide.html</guid> - <description>Building MINA Please read the Developer Infrastructure Information if you haven't yet before you proceed. Preparing the release for the vote Step 0: Building MINA Step 1: Tagging and Deploying step 2 : Processing with a dry run Step 3 : Processing with the real release Step 4 : perform the release Step 5 : closing the staging release on nexus Step 6 : Build the Site Step 7 : Sign the packages Step 8 : Publish Source and Binary Distribution Packages Step 9 : Test [...] + <description>Building MINA Please read the Developer Infrastructure Information if you haven't yet before you proceed. Preparing the release for the vote Step 0: Building MINA Step 1: Tagging and Deploying step 2 : Processing with a dry run Step 3 : Processing with the real release Step 4 : perform the release Step 5 : closing the staging release on nexus Step 6 : Build the Site Step 7 : Sign the packages Step 8 : Publish Source and Binary Distribution Packages Step 9 : Test [...] </item> <item> diff --git a/content/mina-project/developer-guide.html b/content/mina-project/developer-guide.html index 91b3419..5216597 100644 --- a/content/mina-project/developer-guide.html +++ b/content/mina-project/developer-guide.html @@ -145,8 +145,8 @@ </ul> </nav> <h1 id="checking-out-the-code">Checking out the code</h1> -<p>You need Git to check out the source code from our source code repository, and [Maven(http://maven.apache.org/) 2.2.1 to build the source code (Building with Maven 3.0 will also work). The following example shows how to build the current stable branch (2.0.9).</p> -<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">$ git clone http://gitbox.apache.org/repos/asf/mina.git mina +<p>You need Git to check out the source code from our source code repository, and [Maven(https://maven.apache.org/) 3.8.5 (pick the latest Maven version) to build the source code (Building with Maven 3.0 will also work). The following example shows how to build the current stable branch (2.0.9).</p> +<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">$ git clone https://gitbox.apache.org/repos/asf/mina.git mina $ <span style="color:#a2f">cd</span> mina $ mvn -Pserial clean install <span style="color:#080;font-style:italic"># Build packages (JARs) for the core API and other</span> <span style="color:#080;font-style:italic"># extensions and install them to the local Maven repository.</span> @@ -161,11 +161,13 @@ You can declare new variables in Eclipse in Windows -> Preferences… an <li>trunk: Where big changes take place everyday</li> </ul> <p>If you want to check out the source code of previous releases, you have to select the branch you want to work on :</p> -<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">$ git clone http://gitbox.apache.org/repos/asf/mina.git mina +<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">$ git clone https://gitbox.apache.org/repos/asf/mina.git mina +$ <span style="color:#a2f">cd</span> mina $ git checkout <tag> -</code></pre></div><p>For instance, to work on the on-going 2.0 version trunk, just do :</p> -<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">$ git clone http://gitbox.apache.org/repos/asf/mina.git mina -$ git checkout 2.0 +</code></pre></div><p>For instance, to work on the on-going 2.2.X version trunk, just do :</p> +<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">$ git clone https://gitbox.apache.org/repos/asf/mina.git mina +$ <span style="color:#a2f">cd</span> mina +$ git checkout 2.2.X </code></pre></div><h1 id="coding-convention">Coding Convention</h1> <p>We follow <a href="https://www.oracle.com/technetwork/java/codeconventions-150003.pdf">Sun’s standard Java coding convention</a> except that we always use spaces instead of tabs. Please download <a href="ImprovedJavaConventions.xml">the Eclipse Java formatter settings file</a> before you make any changes to the code.</p> <p>This file is also available in the <code>/resources</code> directory.</p> @@ -174,7 +176,7 @@ $ git checkout 2.0 <div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java"><span style="color:#080;font-style:italic">/** </span><span style="color:#080;font-style:italic"> * Class desciption here. </span><span style="color:#080;font-style:italic"> * -</span><span style="color:#080;font-style:italic"> * @author <a href="http://mina.apache.org">Apache MINA Project</a> +</span><span style="color:#080;font-style:italic"> * @author <a href="https://mina.apache.org">Apache MINA Project</a> </span><span style="color:#080;font-style:italic"> */</span> </code></pre></div><p>The headers revisions tags are removed.</p> <h1 id="deploying-snapshots-committers-only">Deploying Snapshots (Committers Only)</h1> @@ -182,16 +184,16 @@ $ git checkout 2.0 <div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash"><span style="color:#a2f">umask</span> <span style="color:#666">002</span> </code></pre></div><p>Please note that you have to edit the correct <code>shrc</code> file. If you use <code>csh</code>, then you will have to edit <code>~/.cshrc</code> file.</p> <p>Now you are ready to deploy the artifacts if you configured your umask correctly.</p> -<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">$ git clone http://gitbox.apache.org/repos/asf/mina.git mina +<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">$ git clone https://gitbox.apache.org/repos/asf/mina.git mina $ <span style="color:#a2f">cd</span> mina $ mvn -Pserial clean deploy site site:deploy <span style="color:#080;font-style:italic"># Make sure to run 'clean' goal first to prevent side effects from your IDE.</span> </code></pre></div><p>Please double-check the mode (i.e. <code>0664</code> or <code>-rw-rw-r--</code>, a.k.a permission code) of the deployed artifacts, otherwise you can waste other people’s time significantly.</p> <h1 id="releasing-a-point-release-committers-only">Releasing a Point Release (Committers Only)</h1> <h2 id="preparing-the-release-for-the-vote">Preparing the release for the vote</h2> <p>Before starting be sure to have the java and mvn command in your PATH. -On linux you can check with the following commands :</p> +On linux you can check with the following commands (change the Maven version accordingly):</p> <div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">$ <span style="color:#a2f">type</span> mvn -mvn is hashed <span style="color:#666">(</span>/opt/maven-2.2.1/bin/mvn<span style="color:#666">)</span> +mvn is hashed <span style="color:#666">(</span>/opt/maven-3.8.5/bin/mvn<span style="color:#666">)</span> $ <span style="color:#a2f">type</span> java java is hashed <span style="color:#666">(</span>/usr/bin/java<span style="color:#666">)</span> </code></pre></div><h3 id="step-0-building-mina">Step 0: Building MINA</h3> @@ -249,7 +251,7 @@ java is hashed <span style="color:#666">(</span>/usr/bin/java<span style="color: <span style="color:#008000;font-weight:bold"></settings></span> </code></pre></div><h3 id="step-2--processing-with-a-dry-run">step 2 : Processing with a dry run</h3> <p>After having checked out the trunk, and built it (see step 0),</p> -<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">$ git clone http://gitbox.apache.org/repos/asf/mina.git mina +<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">$ git clone https://gitbox.apache.org/repos/asf/mina.git mina $ <span style="color:#a2f">cd</span> mina $ mvn clean install -Pserial </code></pre></div><p>run the following commands :</p> @@ -537,7 +539,7 @@ RewriteRule ^latest-2.1/(.*)$ https://nightlies.apache.org/mina/mina/<version <h3 id="step-13-wait-24-hours">Step 13: Wait 24 hours</h3> <p>We have to wait at least 24 hours for all mirrors to retrieve the uploaded files before making any announcement. I’d recommend you to wait for 48 hours because some mirrors might lag due to various issues.</p> <h3 id="step-14-update-the-links-in-web-site">Step 14: Update the Links in Web Site</h3> -<p>Some pages have to be updated. Assuming the MINA site has been checked out in ~/mina/site (this can be done with the command <em>$ svn co https://http://svn.apache.org/viewvc/mina/site/trunk ~/mina/site</em>), here are the pages that need to be changed :</p> +<p>Some pages have to be updated. Assuming the MINA site has been checked out in ~/mina/site (this can be done with the command <em>$ svn co <a href="https://svn.apache.org/viewvc/mina/site/trunk">https://svn.apache.org/viewvc/mina/site/trunk</a> ~/mina/site</em>), here are the pages that need to be changed :</p> <ul> <li>/config.toml: update the <code>version_mina_XYZ</code> variable with the new version.</li> <li>/source/mina-project/news.md: add the news on top of this page</li> diff --git a/content/mina-project/index.xml b/content/mina-project/index.xml index e2ff7ad..d534b5e 100644 --- a/content/mina-project/index.xml +++ b/content/mina-project/index.xml @@ -610,7 +610,7 @@ Why use a ProtocolCodecFilter? TCP guarantees delivery of all packets in the co <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> <guid>https://mina.apache.org/mina-project/developer-guide.html</guid> - <description>Building MINA Please read the Developer Infrastructure Information if you haven't yet before you proceed. Preparing the release for the vote Step 0: Building MINA Step 1: Tagging and Deploying step 2 : Processing with a dry run Step 3 : Processing with the real release Step 4 : perform the release Step 5 : closing the staging release on nexus Step 6 : Build the Site Step 7 : Sign the packages Step 8 : Publish Source and Binary Distribution Packages Step 9 : Test [...] + <description>Building MINA Please read the Developer Infrastructure Information if you haven't yet before you proceed. Preparing the release for the vote Step 0: Building MINA Step 1: Tagging and Deploying step 2 : Processing with a dry run Step 3 : Processing with the real release Step 4 : perform the release Step 5 : closing the staging release on nexus Step 6 : Build the Site Step 7 : Sign the packages Step 8 : Publish Source and Binary Distribution Packages Step 9 : Test [...] </item> <item> diff --git a/content/sitemap.xml b/content/sitemap.xml index 534c2df..eb1566e 100644 --- a/content/sitemap.xml +++ b/content/sitemap.xml @@ -549,7 +549,7 @@ <url> <loc>https://mina.apache.org/mina-project/developer-guide.html</loc> - <lastmod>2022-02-11T09:47:55+01:00</lastmod> + <lastmod>2022-03-17T09:00:40+01:00</lastmod> </url> <url> @@ -834,7 +834,7 @@ <url> <loc>https://mina.apache.org/mina-project.html</loc> - <lastmod>2022-03-14T18:12:22+01:00</lastmod> + <lastmod>2022-03-17T09:00:40+01:00</lastmod> </url> <url>