Download and configure Maven in eclipse-memo

Source: Internet
Author: User

If you configure JDK in eclipse or myeclipe, you can understand the maven configuration at a glance.

What exactly is Maven? I want to buy a Maven practice ASF another day. Simply put, it is the most simple application scenario to manage the resources required by a project in a unified manner.

Maven. After Maven is decompressed, a folder is saved in the selected directory.

Both eclipse and myeclipse have built-in Maven, which can be found in window-preferences,

 

But I don't know where the built-in Maven root directory is. I still need to download the configuration and click Add, just like adding JDK to Maven, the local storage path of the configuration file and jar package is specified.

  • Global settings -- default c: \ Users \ sparow \. m2 \ Settings. XML, In the conf folder of the maven root directory
  • User settings -- default c: \ Users \ sparow \. m2 \ Settings. XML, same as global settings
  • Local repository -- local storage path of the jar package. The default value is c: \ Users \ sparow \. m2 \ repository, which can be changed in the configuration file: <localrepository>/path/to/local/repo </localrepository>. The Maven root directory can be used in the configuration file $ {Maven. home} representative

Everything is ready.

How to Create a Maven project, how to configure the Intranet address to store the jar package shared by the project, and how to use Maven to manage the shared resources of the project. Let's talk about it later ...... This is also my blind spot and will be added as soon as possible.

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.