Maven configuration Alibaba Cloud image tutorial

1. Download a maven compressed package and unzip it.

2. Then find the maven configuration file, located in the conf directory, and add the aliyun mirror mirror

3. Find the mirror by searching the shortcut keys and locate this location. 

 

  <mirrors>
 
         
	<mirror>
		 <id>nexus-aliyun</id>
		 <mirrorOf>*</mirrorOf>
		 <name>Nexus aliyun</name>
		 <url>http://maven.aliyun.com/nexus/content/groups/public</url>
	</mirror>
 
 </mirrors>  

 4. In addition, you also need to pay attention to the file location downloaded to the local dependency, and do not download it to a disk that does not exist.

Guess you like

Origin blog.csdn.net/qq_59059632/article/details/134759281