How to configure MAVEN's local installation location and local repository

Source: Internet
Author: User

First step: Download Apache-maven-3.2.1-bin.zip

Unzip to the specified directory:

I'm in the same directory as the eclipse sibling.


The second step: Create a new repos folder in the Unzip file local warehouse, and then copy a large number of jar packages, you can slowly download


Step three: Open the config file in the extract file, create a new Setting.xml file, configure the file, configure the central remote repository and the local repository

Configure the path of the local repository and the remote path to add it. Baidu has a corresponding tutorial.


Fourth step: Open Eclipse's preference, click Installations under MAVEN, click Add, add the new setting configuration.


You can easily configure Maven's local repository in four steps. Native installations and embedded are not very easy to use and often appear wrong, so it is best to match them with one.


Add: You also need to set environment variables.

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.