MAVEN installation and Eclipse configuration maven

Source: Internet
Author: User

Describes installing MAVEN, configuring MAVEN environment variables, and configuring the Maven plugin in eclipse

Tools/Materials
    • Eclipse

Method/Step
  1. Download Maven's bin, which can be downloaded on the official Apache website.

  2. After downloading, unzip, find a path to put in, the bin location in the environment variable, new environment variable Maven_home

  3. Path to add Maven's bin to path

  4. Because MAVEN relies on the Java Runtime environment, you need to configure the Java Runtime Environment before using MAVEN. Download and install the JDK, configure the JDK environment variable java_home, or MAVEN will not be able to use

  5. After the configuration is complete, at the Windows command prompt, enter MVN-V test, the configuration is displayed successfully

  6. After a successful configuration, start configuring Maven in Eclipse, click the Eclipse menu bar help->eclipse Marketplace search keyword maven to the plugin Maven integration for Eclipse and click Install, Such as:

  7. When the installation is complete, click Restart Eclipse

  8. After rebooting, in order for the MAVEN plugin installed in eclipse to be the same as the one installed in Windows, you need to reposition Maven in Eclipse, click Maven, Preference, window, installation, add to set

  9. 9

    Setup completed successfully.

MAVEN installation and Eclipse configuration maven

Related Article

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.