Przeglądaj źródła

切换镜像仓库至新版

hushuyu 1 rok temu
rodzic
commit
0f56625c08
2 zmienionych plików z 29 dodań i 21 usunięć
  1. 12 0
      pom.xml
  2. 17 21
      settings.xml

+ 12 - 0
pom.xml

@@ -141,4 +141,16 @@
         </plugins>
     </build>
 
+    <repositories>
+        <repository>
+            <id>repo-fxdgg</id>
+            <url>https://packages.aliyun.com/684e93660dc52b6c963b1c3f/maven/repo-fxdgg</url>
+            <releases>
+                <enabled>true</enabled>
+            </releases>
+            <snapshots>
+                <enabled>true</enabled>
+            </snapshots>
+        </repository>
+    </repositories>
 </project>

+ 17 - 21
settings.xml

@@ -4,37 +4,33 @@
 					http://maven.apache.org/xsd/settings-1.0.0.xsd">
     <mirrors>
         <mirror>
-            <id>nexus-aliyun</id>
-            <mirrorOf>central</mirrorOf>
-            <name>Nexus aliyun</name>
-            <url>http://maven.aliyun.com/nexus/content/groups/public</url>
+            <id>mirror</id>
+            <mirrorOf>central,jcenter,!repo-fxdgg</mirrorOf>
+            <name>mirror</name>
+            <url>https://maven.aliyun.com/nexus/content/groups/public</url>
         </mirror>
     </mirrors>
+
     <profiles>
         <profile>
-            <id>nexus</id>
-            <repositories>
-                <repository>
-                    <id>public</id>
-                    <name>Public Repositories</name>
-                    <url>http://nexus.seecoder.cn/repository/maven-public</url>
-                </repository>
-                <repository>
-                    <id>releases</id>
-                    <name>Public Repositories</name>
-                    <url>http://nexus.seecoder.cn/repository/maven-releases</url>
-                </repository>
-            </repositories>
+            <id>rdc</id>
+            <properties>
+                <altReleaseDeploymentRepository>
+                    repo-fxdgg::default::https://packages.aliyun.com/684e93660dc52b6c963b1c3f/maven/repo-fxdgg
+                </altReleaseDeploymentRepository>
+            </properties>
         </profile>
     </profiles>
+
     <activeProfiles>
-        <activeProfile>nexus</activeProfile>
+        <activeProfile>rdc</activeProfile>
     </activeProfiles>
+
     <servers>
         <server>
-            <id>nexus</id>
-            <username>admin</username>
-            <password>NJU67nexus</password>
+            <id>repo-fxdgg</id>
+            <username>684e7f864731dac66480b3c1</username>
+            <password>q81aGqq-sc_G</password>
         </server>
     </servers>
 </settings>