pom镜像修改
This commit is contained in:
parent
f95361ad23
commit
c6f2684150
@ -89,7 +89,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
||||
# docker rmi -f ${image_name}:1.0.0
|
||||
# docker buildx build -f Dockerfile -t ${image_name}:1.0.0 .
|
||||
# docker tag ${image_name}:1.0.0 120.46.37.243:8080/lundu/${image_name}:1.0.0
|
||||
# docker pull 120.46.37.243:8080/lundu/${image_name}:1.0.0
|
||||
# docker push 120.46.37.243:8080/lundu/${image_name}:1.0.0
|
||||
# }
|
||||
# if [ "${service}" = "gateway" ] || [ "${service}" = "all" ]; then
|
||||
# deploy_service "yudao-gateway" "yudao-gateway"
|
||||
|
27
pom.xml
27
pom.xml
@ -128,18 +128,29 @@
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<!-- 使用 huawei / aliyun 的 Maven 源,提升下载速度 -->
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>huaweicloud</id>
|
||||
<name>huawei</name>
|
||||
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>aliyunmaven</id>
|
||||
<name>aliyun</name>
|
||||
<id>public</id>
|
||||
<name>aliyun nexus</name>
|
||||
<url>https://maven.aliyun.com/repository/public</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>public</id>
|
||||
<name>aliyun nexus</name>
|
||||
<url>https://maven.aliyun.com/repository/public</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
</project>
|
||||
|
Loading…
Reference in New Issue
Block a user