maven common notes

table of Contents

Switching the default source

  1. Edit conf / settings.xml
  2. Ali mirrors added nodes in the mirror address (if it has a plurality of first row)
<mirrors>
  <!-- 阿里云仓库 -->
  <mirror>
  <id>alimaven</id>
  <mirrorOf>central</mirrorOf>
  <name>aliyun maven</name>
  <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>

Guess you like

Origin www.cnblogs.com/CSunShine/p/11785887.html