Przeglądaj źródła

配置阿里maven仓库

vip 5 lat temu
rodzic
commit
5bd6074328
1 zmienionych plików z 15 dodań i 0 usunięć
  1. 15 0
      pom.xml

+ 15 - 0
pom.xml

@@ -51,6 +51,21 @@
 		<java.version>1.8</java.version>
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 	</properties>
+	<repositories>
+		<!--阿里云中央仓库-->
+		<repository>
+			<id>maven-ali</id>
+			<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
+			<releases>
+				<enabled>true</enabled>
+			</releases>
+			<snapshots>
+				<enabled>true</enabled>
+				<updatePolicy>always</updatePolicy>
+				<checksumPolicy>fail</checksumPolicy>
+			</snapshots>
+		</repository>
+	</repositories>
 	<dependencies>
 <!-- 如果使用的是mysql8.0需要使用8.0的驱动 -->
 <!--		<dependency>-->