Author: cbrisson
Date: Mon Nov 13 11:49:13 2017
New Revision: 1815088
URL: http://svn.apache.org/viewvc?rev=1815088&view=rev
Log:
[site] Review build instructions - production
Modified:
velocity/site/production/engine/2.0/build.html
velocity/site/production/engine/devel/build.html
Modified: velocity/site/production/engine/2.0/build.html
URL:
http://svn.apache.org/viewvc/velocity/site/production/engine/2.0/build.html?rev=1815088&r1=1815087&r2=1815088&view=diff
==============================================================================
--- velocity/site/production/engine/2.0/build.html (original)
+++ velocity/site/production/engine/2.0/build.html Mon Nov 13 11:49:13 2017
@@ -230,13 +230,14 @@ h2:hover > .headerlink, h3:hover > .head
<h2 id="required-tools">Required Tools<a class="headerlink"
href="#required-tools" title="Permanent link">¶</a></h2>
<p>To build Velocity we require <a href="http://maven.apache.org/">Maven</a>
version 3.0.5 or higher to perform the build process. We assume that you have
followed Maven's installation instructions and have it properly installed.</p>
<h2 id="building">Building<a class="headerlink" href="#building"
title="Permanent link">¶</a></h2>
-<p>In each case below, it is assumed that you were successful in getting the
distribution from Subversion, and were successful in unpacking. Also, it is
assumed that you are starting in the 'velocity' directory, the root of the
distribution tree. All directory references will be relative to 'velocity'.</p>
-<p>Change to the <strong>build</strong> directory (<code>cd build</code>).
Then, to build the jar file, simply type:</p>
-<div class="codehilite"><pre>mvn install
+<p>In each case below, it is assumed that you were successful in <a
href="/download.cgi#engine">downloading</a> and unpacking the distribution
source or <a href="/download.cgi#source-code-repository">checking out the
sources from Subversion</a>:</p>
+<div class="codehilite"><pre>svn checkout
https://svn.apache.org/repos/asf/velocity/engine/tags/2.0 velocity-2.0
+cd velocity-2.0
+mvn install
</pre></div>
-<p>Executing this script will create a <strong>target</strong> directory
within the Velocity distribution directory. Each subdirectory containing a
module of Velocity will contain a "target" directory too, containing all built
jars. In the "velocity-assembly" module you will find built distributions.</p>
+<p>Executing this script will create a <strong>target</strong> directory
within the velocity-2.0 directory. Each subdirectory containing a module of
Velocity will contain a "target" directory too, containing all built jars.</p>
<p>Refer to Maven documentation for all phases you can invoke.</p>
<p>If you find a problem, do not hesitate to ask the Velocity community
via our <a href="/contact.html">mail lists</a>.</p></div></div>
Modified: velocity/site/production/engine/devel/build.html
URL:
http://svn.apache.org/viewvc/velocity/site/production/engine/devel/build.html?rev=1815088&r1=1815087&r2=1815088&view=diff
==============================================================================
--- velocity/site/production/engine/devel/build.html (original)
+++ velocity/site/production/engine/devel/build.html Mon Nov 13 11:49:13 2017
@@ -229,14 +229,15 @@ h2:hover > .headerlink, h3:hover > .head
<p><a href="http://maven.apache.org/">Maven</a> is also an Apache project. To
build Apache Velocity, you need at least Version 3.0.5 of Apache Maven.</p>
<h2 id="required-tools">Required Tools<a class="headerlink"
href="#required-tools" title="Permanent link">¶</a></h2>
<p>To build Velocity we require <a href="http://maven.apache.org/">Maven</a>
version 3.0.5 or higher to perform the build process. We assume that you have
followed Maven's installation instructions and have it properly installed.</p>
-<h2 id="building">Building<a class="headerlink" href="#building"
title="Permanent link">¶</a></h2>
-<p>In each case below, it is assumed that you were successful in getting the
distribution from Subversion, and were successful in unpacking. Also, it is
assumed that you are starting in the 'velocity' directory, the root of the
distribution tree. All directory references will be relative to 'velocity'.</p>
-<p>Change to the <strong>build</strong> directory (<code>cd build</code>).
Then, to build the jar file, simply type:</p>
-<div class="codehilite"><pre>mvn install
+<h2 id="building-from-sources">Building from Sources<a class="headerlink"
href="#building-from-sources" title="Permanent link">¶</a></h2>
+<p>In each case below, it is assumed that you were successful in <a
href="/download.cgi#source-code-repository">checking out the sources from
Subversion</a>:</p>
+<div class="codehilite"><pre>svn checkout
https://svn.apache.org/repos/asf/velocity/engine/trunk velocity
+cd velocity
+mvn install
</pre></div>
-<p>Executing this script will create a <strong>target</strong> directory
within the Velocity distribution directory. Each subdirectory containing a
module of Velocity will contain a "target" directory too, containing all built
jars. In the "velocity-assembly" module you will find built distributions.</p>
+<p>Executing this script will create a <strong>target</strong> directory
within the velocity directory. Each subdirectory containing a module of
Velocity will contain a "target" directory too, containing all built jars.</p>
<p>Refer to Maven documentation for all phases you can invoke.</p>
<p>If you find a problem, do not hesitate to ask the Velocity community
via our <a href="/contact.html">mail lists</a>.</p></div></div>