How does eclipse customize the Maven path?

Time:2022-7-9

The path of a good Maven installed in ecplise is not a very important path, so you need to modify the path of Maven in ecplise by yourself, so that only the jar package files under the custom installed Maven directory are used in the construction.

1. After opening the ecplise development tool platform, clickWindows menuMedium.

2. Pop up the menu to select asOptions menu of preferences

3. Select as in the list on the leftMaven options, clickinstallationsSelect the option of asAdd

4. Browse localMaven’s pathFor the option to install, click “determine”OK.

5. What you can see isMaven pathYour choice succeeded.

6. After the path selection is completed, the required jar packages can be downloaded after the construction.

Relevant recommendations:

How does MyEclipse modify Maven’s jar library address?

POM always appears when eclipse creates Maven project What about XML errors?

How to create a web project under eclipse? Tutorial on creating web projects with maven