Some issues with the Eclipse configuration maven

Source: Internet
Author: User

Issue 1: Connecting the private build project is very slow

After configuring the local setting file, it is found that the build is very slow, according to the progress of the display, it may take a day to build after a project, the colleague guidance solution is as follows:

MyEclipse2017 mave Configuration of User Settings, only the user Settings is configured, and the first Global Settings is not configured, is empty,

The progress is greatly accelerated after the first Global Settings and the second User Settings are set to the same private setting file .

Question 2: How to use the MAVEN repository if you do not have Internet access, including intranet

First, ask a colleague to copy the downloaded warehouse directory from its computer to my local computer.

Then the warehouse address in the settings configuration file is changed to the repository directory on my local computer, the other configuration is not moved,

Then each time you Select the item that is an error (you can select more than one at a time), right-click Maven-Update project,

In the pop-up window, select all items, note that the most critical is below:

tick the Offline"Use offline Maven repository" in the lower part of the window, and force update of snapshots/releases"forced refresh" below

This will gradually build up the error items.

Some issues with the 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.