Maven installation and eclipse configuration

1. Copy apache-maven-3.1.0 (the upper-level directory of bin) to the specified installation maven folder, create a new folder to store the repository jar package, and create a new folder to store the settings.xml file
2. Environment variables:
create a new MAVEN_HOME ; Value: maven installation directory (upper bin directory)
edit path; value: %MAVEN_HOME%\bin
3. ecilpse configuration
window-preferences-maven-User settings
Giobal ​​Settings: browse settings.xml file: use D in this file :\restory\repository specifies the warehouse directory
User settings: browse the settings.xml file

Guess you like

Origin blog.csdn.net/weixin_52877849/article/details/115012262