Addig previous releases menu. Updating download page. Fixing link in upgrading page

git-svn-id: https://svn.apache.org/repos/asf/synapse/trunk@1776258 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/java/modules/documentation/src/site/site.xml b/java/modules/documentation/src/site/site.xml
index 40b915b..6ea39b2 100644
--- a/java/modules/documentation/src/site/site.xml
+++ b/java/modules/documentation/src/site/site.xml
@@ -64,5 +64,12 @@
             <item name="Dependencies" href="dependency-management.html"/>
             <item name="Project Team" href="team-list.html"/>
         </menu>
+        <menu name="Previous Releases">
+            <item name="Version 2.0" href="/2_0/docs_index.html"/>
+            <item name="Version 1.2" href="/1_2/docs_index.html"/>
+            <item name="Version 1.1.1" href="/1_1_1/content.html"/>
+            <item name="Version 1.1" href="/1_1/content.html"/>
+            <item name="Version 1.0" href="/1_1/content.html"/>
+        </menu>
     </body>
 </project>
diff --git a/java/modules/documentation/src/site/xdoc/download.xml b/java/modules/documentation/src/site/xdoc/download.xml
index 2921bf3..696e47e 100644
--- a/java/modules/documentation/src/site/xdoc/download.xml
+++ b/java/modules/documentation/src/site/xdoc/download.xml
@@ -25,7 +25,7 @@
     <body>
         <section name="Download Latest Stable Release">
             <p>
-                The latest stable release of Apache Synapse is 2.1. It is highly recommended
+                The latest stable release of Apache Synapse is 3.0. It is highly recommended
                 to use the latest stable release so that you can use our newest features
                 while benefiting from all the recent bug fixes and improvements.
             </p>
@@ -35,8 +35,8 @@
                     <th>Release Date</th>
                 </tr>
                 <tr>
-                    <td><a href="download/2.1/download.cgi">2.1</a></td>
-                    <td>22-Dec-2011</td>
+                    <td><a href="download/3.0/download.cgi">3.0</a></td>
+                    <td>01-Jan-2017</td>
                 </tr>
             </table>
         </section>
@@ -47,6 +47,10 @@
                     <th>Release Date</th>
                 </tr>
                 <tr>
+                    <td><a href="download/2.1/download.cgi">2.1</a></td>
+                    <td>22-Dec-2011</td>
+                </tr>
+                <tr>
                     <td><a href="download/2.0.0/download.cgi">2.0.0</a></td>
                     <td>30-Nov-2010</td>
                 </tr>
diff --git a/java/modules/documentation/src/site/xdoc/userguide/upgrading.xml b/java/modules/documentation/src/site/xdoc/userguide/upgrading.xml
index 1e57b12..5d27cc0 100644
--- a/java/modules/documentation/src/site/xdoc/userguide/upgrading.xml
+++ b/java/modules/documentation/src/site/xdoc/userguide/upgrading.xml
@@ -119,9 +119,8 @@
 					intermediary buffer use when there is no requirement to read an HTTP payload (i.e. message is merely passed
 					through). If you have custom extensions that depend on accessing or reading buffers directly, you
 					may require to change your code to trigger the PassThrough transport to build the payload. This can
-					be done using the
-					<a herf="../apidocs/org/apache/synapse/transport/passthrough/util/RelayUtils.html">
-						RelayUtils.buildMessage(MessageContext messageContext, boolean earlyBuild)</a> static method.
+					be done using the <a href="../apidocs/org/apache/synapse/transport/passthru/util/RelayUtils.html">RelayUtils#buildMessage()</a>
+					static methods.
 				</p>
 			</subsection>
 			<subsection name="Respond and Loopback Mediators" id="New_mediators_3.0">