MAVEN installation Configuration

Source: Internet
Author: User

Windows environment, MAVEN installs the configuration process. A total of only 4 steps are required:

1, "Check" confirm that the JDK has been installed, the environment variable is configured Java_home, the path has been modified

2, "Download" from http://maven.apache.org/download.cgi download the required version, the author uses the 3.0.4 version. Download Apache-maven-3.0.4-bin.zip file. If you need a more advanced version, download the appropriate Bin.zip file.

3, "decompression" to extract maven to a specified directory, for example: D:\env. The D:\env\apache-maven-3.0.4 directory will have bin, Conf, Lib and other folders.

4, "Configure" in the environment variable, create a new m2_home, set to D:\env\apache-maven-3.0.4.

Modify the path variable to add%m2_home%bin after the original value;. The value of the path variable is delimited by semicolons.

After saving, enter mvn-v at the command line to see if MAVEN is configured successfully.

MAVEN installation Configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.