Step1: Download Quguan network address
http://maven.apache.org/download.cgi
Step2: extracting and moved to the specified directory to
Step3: Configure environment variables and entry into force
.bash_profile added
M2_HOME = Export / Tool / Maven-the Apache-3.5.3
Export the PATH = $ the PATH: $ M2_HOME / bin
Save and add after launch, execute the following command to validate the configuration:
Source ~ / .bash_profile
Step4: to test
mvn -v
PS today tried to write Markdown text, font formatting, and so avoid the use of tools like land, do not pay attention to it a lot of typesetting, after getting used to it handy.
There is also a question of why each MAC screenshots, pictures are so big? Some looked torque.
http://maven.apache.org/download.cgi
Step2: extracting and moved to the specified directory to
Step3: Configure environment variables and entry into force
.bash_profile added
M2_HOME = Export / Tool / Maven-the Apache-3.5.3
Export the PATH = $ the PATH: $ M2_HOME / bin
Save and add after launch, execute the following command to validate the configuration:
Source ~ / .bash_profile
Step4: to test
mvn -v