Maven Eclipse installation and configuration

1. Download and unzip maven

http://maven.apache.org/download.cgi

2. Modify the maven mirror address

  Modify conf/settings.xml under maven

   <mirrors>
     <mirror>
        <id>nexus-aliyun</id>
        <mirrorOf>*</mirrorOf>
        <name>Nexus aliyun</name>
        <url>http://maven.aliyun.com/nexus/content/groups/public</url>
     </mirror>
  </mirrors>
3. eclipse maven configuration
4. Modify userSetting

global settings
The configuration of this machine, all users who use this machine use this configuration

user settings
The configuration of the current user

Personal configuration overrides global configuration.

5. Configuration is complete.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326897108&siteId=291194637