This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-training.git


The following commit(s) were added to refs/heads/master by this push:
     new 18a21d0  TRAINING-26: Select english language for jetty run. (#61)
18a21d0 is described below

commit 18a21d03c1e5acd6cbd646e8e0ecfd9197b5d621
Author: RyanSkraba <[email protected]>
AuthorDate: Fri Dec 27 16:27:32 2019 +0100

    TRAINING-26: Select english language for jetty run. (#61)
---
 content/ZooKeeper/README.md | 4 +++-
 content/ZooKeeper/pom.xml   | 3 +++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/content/ZooKeeper/README.md b/content/ZooKeeper/README.md
index cdcd8f6..0b7526c 100644
--- a/content/ZooKeeper/README.md
+++ b/content/ZooKeeper/README.md
@@ -30,9 +30,11 @@ By running the following command, you can generate the 
presentation:
    
 ## Running the presentation
 
-In order to start a local web server serving the presentation, execute the 
following command:
+In order to start a local web server serving the presentation (English 
translation), execute the following command:
 
     mvn jetty:run-exploded
+
+(The selected language is configurable in the `<configuration><war>` element 
of the `jetty` plugin in `pom.xml`.)
     
 As soon as that's done, just point your browser to:
 
diff --git a/content/ZooKeeper/pom.xml b/content/ZooKeeper/pom.xml
index 753c194..79b9da3 100644
--- a/content/ZooKeeper/pom.xml
+++ b/content/ZooKeeper/pom.xml
@@ -331,6 +331,9 @@
                 <groupId>org.eclipse.jetty</groupId>
                 <artifactId>jetty-maven-plugin</artifactId>
                 <version>${jetty-maven-plugin.version}</version>
+                <configuration>
+                    
<war>${project.build.directory}/${project.artifactId}-${project.version}-en.war</war>
+                </configuration>
             </plugin>
         </plugins>
     </build>

Reply via email to