maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1828653 - /maven/site/trunk/content/markdown/install.md.vm
Date Sun, 08 Apr 2018 16:47:51 GMT
Author: hboutemy
Date: Sun Apr  8 16:47:51 2018
New Revision: 1828653

URL: http://svn.apache.org/viewvc?rev=1828653&view=rev
Log:
Just fix showing of command's output
Submitted by: Nikolay Kozhemyak
this fixes #15

Modified:
    maven/site/trunk/content/markdown/install.md.vm

Modified: maven/site/trunk/content/markdown/install.md.vm
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/markdown/install.md.vm?rev=1828653&r1=1828652&r2=1828653&view=diff
==============================================================================
--- maven/site/trunk/content/markdown/install.md.vm (original)
+++ maven/site/trunk/content/markdown/install.md.vm Sun Apr  8 16:47:51 2018
@@ -9,12 +9,13 @@ Detailed steps are:
 
 * Extract distribution archive in any directory 
 
-
-    unzip apache-maven-${currentStableVersion}-bin.zip
-
+```cmd
+unzip apache-maven-${currentStableVersion}-bin.zip
+```
 or
-
-    tar xzvf apache-maven-${currentStableVersion}-bin.tar.gz
+```sh
+tar xzvf apache-maven-${currentStableVersion}-bin.tar.gz
+```
 
 Alternatively use your preferred archive extraction tool.
 
@@ -23,23 +24,24 @@ the `PATH` environment variable
 
 * Confirm with `mvn -v` in a new shell. The result should look similar to
 
-
-    Apache Maven ${currentStableVersion} (${currentStableVersionDetails})
-    Maven home: /opt/apache-maven-${currentStableVersion}
-    Java version: 1.8.0_45, vendor: Oracle Corporation
-    Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre
-    Default locale: en_US, platform encoding: UTF-8
-    OS name: "mac os x", version: "10.8.5", arch: "x86_64", family: "mac"
-
+```
+Apache Maven ${currentStableVersion} (${currentStableVersionDetails})
+Maven home: /opt/apache-maven-${currentStableVersion}
+Java version: 1.8.0_45, vendor: Oracle Corporation
+Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre
+Default locale: en_US, platform encoding: UTF-8
+OS name: "mac os x", version: "10.8.5", arch: "x86_64", family: "mac"
+```
 
 Windows Tips
 -----
 
 * Check environment variable value e.g.
 
-
-    echo %JAVA_HOME% 
-    C:\Program Files\Java\jdk1.7.0_51
+```cmd
+echo %JAVA_HOME% 
+C:\Program Files\Java\jdk1.7.0_51
+```
 
 * Adding to `PATH`:  Add the unpacked distribution's bin directory to your user PATH environment
variable 
 by opening up the system properties (WinKey + Pause), selecting the "Advanced" tab, and 
@@ -54,12 +56,13 @@ Unix-based Operating System (Linux, Sola
 
 * Check environment variable value
 
+```sh
+echo $JAVA_HOME
+/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home
+```
 
-    echo $JAVA_HOME
-    /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home
-    
 * Adding to `PATH`
 
-
-    export PATH=/opt/apache-maven-${currentStableVersion}/bin:$PATH
-
+```sh
+export PATH=/opt/apache-maven-${currentStableVersion}/bin:$PATH
+```



Mime
View raw message