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/struts-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new b50f7be  Updates production by Jenkins
b50f7be is described below

commit b50f7be66b73cf8539b3fd85ae637e278fc70fc2
Author: jenkins <bui...@apache.org>
AuthorDate: Tue Dec 5 09:51:19 2017 +0000

    Updates production by Jenkins
---
 .../how-to-create-a-struts2-web-application.html              | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git 
a/content/getting-started/how-to-create-a-struts2-web-application.html 
b/content/getting-started/how-to-create-a-struts2-web-application.html
index bd799f3..edee50e 100644
--- a/content/getting-started/how-to-create-a-struts2-web-application.html
+++ b/content/getting-started/how-to-create-a-struts2-web-application.html
@@ -263,12 +263,13 @@ to our web application’s class path. In <code 
class="highlighter-rouge">pom.xm
 <div class="highlighter-rouge"><pre class="highlight"><code><span 
class="nt">&lt;dependency&gt;</span>
     <span class="nt">&lt;groupId&gt;</span>org.apache.struts<span 
class="nt">&lt;/groupId&gt;</span>
     <span class="nt">&lt;artifactId&gt;</span>struts2-core<span 
class="nt">&lt;/artifactId&gt;</span>
-    <span class="nt">&lt;version&gt;</span>X.X.X.X<span 
class="nt">&lt;/version&gt;</span>
+    <span class="nt">&lt;version&gt;</span>${struts2.version}<span 
class="nt">&lt;/version&gt;</span>
 <span class="nt">&lt;/dependency&gt;</span>
 </code></pre>
 </div>
 
-<p>Of course replace the X.X.X.X with the current Struts 2 version. Maven will 
get the <code class="highlighter-rouge">struts2-core</code> jar and the other 
jar 
+<p>Of course replace the <code 
class="highlighter-rouge">${struts2.version}</code> with the current Struts 2 
version (or define within pom <code 
class="highlighter-rouge">properties</code>). 
+Maven will get the <code class="highlighter-rouge">struts2-core</code> jar and 
the other jar 
 files struts2-core requires (transitive dependencies).</p>
 
 <p><i class="glyphicon glyphicon-info-sign alert-info" aria-hidden="true"></i> 
Beginning with Struts version 2.2.3 
@@ -283,17 +284,17 @@ you do not need to specify a separate dependency node for 
javassist.</p>
 <div class="highlighter-rouge"><pre class="highlight"><code><span 
class="nt">&lt;dependency&gt;</span>
     <span class="nt">&lt;groupId&gt;</span>org.apache.logging.log4j<span 
class="nt">&lt;/groupId&gt;</span>
     <span class="nt">&lt;artifactId&gt;</span>log4j-core<span 
class="nt">&lt;/artifactId&gt;</span>
-    <span class="nt">&lt;version&gt;</span>2.8.2<span 
class="nt">&lt;/version&gt;</span>
+    <span class="nt">&lt;version&gt;</span>${log4j2.version}<span 
class="nt">&lt;/version&gt;</span>
 <span class="nt">&lt;/dependency&gt;</span>
 <span class="nt">&lt;dependency&gt;</span>
     <span class="nt">&lt;groupId&gt;</span>org.apache.logging.log4j<span 
class="nt">&lt;/groupId&gt;</span>
     <span class="nt">&lt;artifactId&gt;</span>log4j-api<span 
class="nt">&lt;/artifactId&gt;</span>
-    <span class="nt">&lt;version&gt;</span>2.8.2<span 
class="nt">&lt;/version&gt;</span>
+    <span class="nt">&lt;version&gt;</span>${log4j2.version}<span 
class="nt">&lt;/version&gt;</span>
 <span class="nt">&lt;/dependency&gt;</span>
 </code></pre>
 </div>
 
-<p>Using both <code class="highlighter-rouge">log4j-core</code> and <code 
class="highlighter-rouge">log4j-api</code> allows to use the latest version of 
Log4j2 without a clash with version provided by the framework. Setup a <code 
class="highlighter-rouge">log4j2.xml</code> configuration in the <code 
class="highlighter-rouge">src/main/resources</code> folder which contains the 
following</p>
+<p>Using both <code class="highlighter-rouge">log4j-core</code> and <code 
class="highlighter-rouge">log4j-api</code> allows to use <a 
href="//logging.apache.org/log4j/2.x/maven-artifacts.html">the latest version 
of Log4j2</a> without a clash with version provided by the framework. Setup a 
<code class="highlighter-rouge">log4j2.xml</code> configuration in the <code 
class="highlighter-rouge">src/main/resources</code> folder which contains the 
following</p>
 
 <p><strong>log4j2.xml</strong></p>
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@struts.apache.org" <commits@struts.apache.org>'].

Reply via email to