Apache Archiva Main site deployment
diff --git a/ci-management.html b/ci-management.html
index 54d6007..67fc68b 100644
--- a/ci-management.html
+++ b/ci-management.html
@@ -116,7 +116,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/developers/building.html b/developers/building.html
index b51c7d5..87cb561 100644
--- a/developers/building.html
+++ b/developers/building.html
@@ -117,7 +117,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/developers/how-we-do-things.html b/developers/how-we-do-things.html
index 3486631..0abdefb 100644
--- a/developers/how-we-do-things.html
+++ b/developers/how-we-do-things.html
@@ -117,7 +117,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/developers/publishing-site.html b/developers/publishing-site.html
index 38e0086..47f9441 100644
--- a/developers/publishing-site.html
+++ b/developers/publishing-site.html
@@ -116,7 +116,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/developers/releasing.html b/developers/releasing.html
index d04873b..7dc2084 100644
--- a/developers/releasing.html
+++ b/developers/releasing.html
@@ -117,7 +117,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
@@ -131,17 +131,17 @@
      &lt;username&gt;&lt;/username&gt;
      &lt;password&gt;&lt;/password&gt;
    &lt;/server&gt;</pre></div></li>
-<li>If there are changes in the parent pom, release parent pom &#x2013; https://svn.apache.org/repos/asf/archiva/parent
+<li>If there are changes in the parent pom, release parent pom &#x2013; <a class="externalLink" href="https://gitbox.apache.org/repos/asf/archiva-parent.git">https://gitbox.apache.org/repos/asf/archiva-parent.git</a>
 <ul>
 <li>mvn release:prepare (verify that it has been properly tagged)</li>
 <li>mvn release:perform (verify that it has been deployed correctly in the staging repo)</li></ul></li>
-<li>Update the parent pom version of archiva &#x2013; https://svn.apache.org/repos/asf/archiva/trunk
+<li>Update the parent pom version of archiva &#x2013; <a class="externalLink" href="https://gitbox.apache.org/repos/asf/archiva.git">https://gitbox.apache.org/repos/asf/archiva.git</a>
 <ul>
 <li>change the parent pom version to the archiva-parent version that has just been released</li>
 <li>commit the changes made</li></ul></li>
 <li>Update the release notes and the site.xml for version changes in archiva-docs</li>
-<li>Verify that the webapp-tests are building successfully. Since it is in a separate profile but inside the Archiva source tree, it will not be released but will still be included in the release tag. If some tests are failing, comment it out first so that only the passing tests are executed when the webapp-tests module are built from the tag.</li>
-<li>Release archiva You should have a GPG agent running (preferred), and confirm it works by running &quot;gpg -ab&quot; (type some text and press Ctrl-D). If you do not have a GPG agent running, make sure that you have the &quot;apache-release&quot; profile set in your settings.xml as shown below.
+<li>Verify that the webapp-tests are building successfully. <br />Since it is in a separate profile but inside the Archiva source tree, it will not be released but will still be included in the release tag. If some tests are failing, comment it out first so that only the passing tests are executed when the webapp-tests module are built from the tag.</li>
+<li>Release archiva.<br />You should have a GPG agent running (preferred), and confirm it works by running &quot;gpg -ab&quot; (type some text and press Ctrl-D). If you do not have a GPG agent running, make sure that you have the &quot;apache-release&quot; profile set in your settings.xml as shown below.
 <div class="source"><pre class="prettyprint">&lt;profile&gt;
   &lt;id&gt;apache-release&lt;/id&gt;
   &lt;properties&gt;
@@ -149,10 +149,19 @@
   &lt;/properties&gt;
 &lt;/profile&gt;</pre></div>
 <p>Set your user credentials for the stage repo in the <i>servers</i> section of your settings.xml for <a href="#archiva-repository.releases">archiva-repository.releases</a>.</p>
-<p>Execute mvn release:prepare (check that it has been properly tagged. the tag name must be.. archiva-[VERSION]).</p>
-<p>Next, execute mvn release:perform</p>
+<p>Prepare your environment: For Archiva 2.x you have to use JDK 7 and set memory settings.</p>
+<div class="source"><pre class="prettyprint">export JAVA_HOME=&lt;PATH_TO_JDK7&gt;
+export PATH=$JAVA_HOME/bin:$PATH
+export MAVEN_OPTS=&quot;-Xmx6144m -XX:MaxPermSize=512m&quot; # It may work with less heap, but this is a safe value
+export JAVA_OPT=&quot;-Xmx6144m -XX:MaxPermSize=512m&quot; </pre></div>
+<p>Execute </p>
+<div class="source"><pre class="prettyprint">mvn release:prepare</pre></div>
+<p>Check that it has been properly tagged. The tag name must be.. archiva-[VERSION].</p>
+<p>If all works fine, execute </p>
+<div class="source"><pre class="prettyprint">mvn release:perform</pre></div>
+<p>The perform task will push to the repository, if it was successful. After successfully running this task, it's not possible to roll back.</p>
 <p>Download the uploaded files via wget:</p>
-<div class="source"><pre class="prettyprint">ARCHV=&quot;2.2.3&quot; # Enter the new archiva version
+<div class="source"><pre class="prettyprint">ARCHV=&quot;2.2.4&quot; # Enter the new archiva version
 RELEASE_URL=&quot;http://archiva-repository.apache.org/archiva/repository/archiva-releases-stage&quot;
 wget ${RELEASE_URL}/org/apache/archiva/archiva-jetty/${ARCHV}/archiva-jetty-${ARCHV}-bin.tar.gz
 # Verify the signatures:
@@ -181,19 +190,20 @@
 # Move also the POM and Redback and Redback Component releases, if there are new ones.</pre></div>
 <p>To sync the jars to Maven Central, you need to merge the repository archiva-releases-stage to &quot;Central Rsync Repository&quot;</p>
 <p>Mark the appropriate release version in JIRA as complete.</p>
-<p>Update the archiva site (https://gitbox.apache.org/repos/asf/archiva-site.git) for the versions and release notes URL:</p>
+<p>Update the archiva site (<a class="externalLink" href="https://gitbox.apache.org/repos/asf/archiva-site.git">https://gitbox.apache.org/repos/asf/archiva-site.git</a>) for the versions and release notes URL:</p>
 <p>Mostly these properties of the pom.xml should be edited:</p>
-<div class="source"><pre class="prettyprint">  &lt;archivaReleaseVersion&gt;2.2.3&lt;/archivaReleaseVersion&gt;
-  &lt;archivaReleaseDate&gt;16th May 2017&lt;/archivaReleaseDate&gt;
+<div class="source"><pre class="prettyprint">  &lt;archivaReleaseVersion&gt;2.2.4&lt;/archivaReleaseVersion&gt;
+  &lt;archivaReleaseDate&gt;16th May 2019&lt;/archivaReleaseDate&gt;
   &lt;archivaCurrentDevVersion&gt;3.0.0-SNAPSHOT&lt;/archivaCurrentDevVersion&gt;</pre></div>
-<p>Run <b>deploySite.sh</b>. The script will give the information where to check the content locally and asks before pushing to the remote repository.</p>
-<p>Once mirroring done (can be 24H): remove previous versions from https://dist.apache.org/repos/dist/release/archiva/</p>
-<p>Publish the reference docs (sh ./deploySite.sh in the archiva-modules directory) from the release tag. You may have to exclude the archiva-webapp module to do this, and will require MAVEN_OPTS=-Xmx256m. You may need to use Maven 2.2.1 instead of Maven 3.x for this.</p>
+<p>Run <b>deploySite.sh</b>. The script will prepare the site locally and provide information how to check the content before pushing to the remote repository.</p>
+<p>Once mirroring done (can be 24H): remove previous versions from <a class="externalLink" href="https://dist.apache.org/repos/dist/release/archiva/">https://dist.apache.org/repos/dist/release/archiva/</a></p>
+<p>Publish the reference docs (sh ./deploySite.sh in the archiva-modules directory) from the release tag. You may have to exclude the archiva-webapp module to do this.</p>
 <p>Send out an announcement of the release to:</p>
 <ul>
 <li>users@archiva.apache.org</li>
 <li>users@maven.apache.org</li>
-<li>announce@apache.org</li></ul></li></ol></div>
+<li>announce@apache.org</li></ul>
+<p>If there are security incidents that should be published after release, please check the Apache information <a class="externalLink" href="http://www.apache.org/security/committers.html">http://www.apache.org/security/committers.html</a> for further actions.</p></li></ol></div>
         </div>
     </div>
     <hr/>
diff --git a/download.html b/download.html
index 4010c61..2c5aa39 100644
--- a/download.html
+++ b/download.html
@@ -116,7 +116,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/errors/404.html b/errors/404.html
index 69dfe55..1151e28 100644
--- a/errors/404.html
+++ b/errors/404.html
@@ -116,7 +116,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/get-involved.html b/get-involved.html
index a8a46ff..961368c 100644
--- a/get-involved.html
+++ b/get-involved.html
@@ -117,7 +117,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/index.html b/index.html
index bf45ef2..efa6d14 100644
--- a/index.html
+++ b/index.html
@@ -117,7 +117,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/issue-management.html b/issue-management.html
index c395df9..1c42fd2 100644
--- a/issue-management.html
+++ b/issue-management.html
@@ -116,7 +116,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/jsui/generics-js.html b/jsui/generics-js.html
index db41d02..190983f 100644
--- a/jsui/generics-js.html
+++ b/jsui/generics-js.html
@@ -117,7 +117,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/jsui/i18n.html b/jsui/i18n.html
index 9773e5b..79e5951 100644
--- a/jsui/i18n.html
+++ b/jsui/i18n.html
@@ -118,7 +118,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/jsui/index.html b/jsui/index.html
index 873396d..ad38374 100644
--- a/jsui/index.html
+++ b/jsui/index.html
@@ -117,7 +117,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/jsui/knockout-binding.html b/jsui/knockout-binding.html
index f518182..053baf4 100644
--- a/jsui/knockout-binding.html
+++ b/jsui/knockout-binding.html
@@ -118,7 +118,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/jsui/rest.html b/jsui/rest.html
index ad58d10..e37fae5 100644
--- a/jsui/rest.html
+++ b/jsui/rest.html
@@ -118,7 +118,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/jsui/template-loading.html b/jsui/template-loading.html
index 8547591..8193e9c 100644
--- a/jsui/template-loading.html
+++ b/jsui/template-loading.html
@@ -118,7 +118,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/known-issues.html b/known-issues.html
index a031ebf..e91a31f 100644
--- a/known-issues.html
+++ b/known-issues.html
@@ -117,7 +117,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/licenses.html b/licenses.html
index 40df067..2d3e0bd 100644
--- a/licenses.html
+++ b/licenses.html
@@ -116,7 +116,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/mailing-lists.html b/mailing-lists.html
index ebea8a9..dcd31e0 100644
--- a/mailing-lists.html
+++ b/mailing-lists.html
@@ -116,7 +116,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/privacy-policy.html b/privacy-policy.html
index 7b05147..f74072f 100644
--- a/privacy-policy.html
+++ b/privacy-policy.html
@@ -118,7 +118,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/project-info.html b/project-info.html
index 38c19d2..bd4f847 100644
--- a/project-info.html
+++ b/project-info.html
@@ -116,7 +116,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/scm.html b/scm.html
index 64e32f1..32ebc3f 100644
--- a/scm.html
+++ b/scm.html
@@ -116,7 +116,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/security.html b/security.html
index 385df2d..a0844cf 100644
--- a/security.html
+++ b/security.html
@@ -116,7 +116,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/team.html b/team.html
index 1114586..ae4f138 100644
--- a/team.html
+++ b/team.html
@@ -116,7 +116,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >
diff --git a/versions.html b/versions.html
index 155d2f7..3b58f69 100644
--- a/versions.html
+++ b/versions.html
@@ -118,7 +118,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate" class="pull-right">Last Published: 30 Apr 2019</li>
+        <li id="publishDate" class="pull-right">Last Published: 01 May 2019</li>
         </ul>
       </div>
         <div id="bodyColumn" >