解决 docker 无法从 git 拉取依赖问题

This commit is contained in:
shikong 2023-09-04 16:25:37 +08:00
parent fd1387f884
commit 3274f7da08
2 changed files with 16 additions and 5 deletions

11
pom.xml
View File

@ -81,7 +81,16 @@
<repository>
<id>gb28181-docking-platform-mvn-repo</id>
<!--<url>http://192.168.1.8:20080/zxb/gb28181-docking-platform-mvn-repo/-/raw/master/</url>-->
<url>http://git.skcks.cn/Shikong/gb28181-docking-platform-mvn-repo/raw/branch/master/</url>
<url>
http://git.skcks.cn/Shikong/gb28181-docking-platform-mvn-repo/raw/branch/master/
</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>

View File

@ -157,7 +157,7 @@ under the License.
-->
<mirror>
<id>maven</id>
<mirrorOf>*</mirrorOf>
<mirrorOf>central</mirrorOf>
<name>maven</name>
<url>https://repo1.maven.org/maven2/</url>
</mirror>
@ -170,14 +170,14 @@ under the License.
<mirror>
<id>nexus-163</id>
<mirrorOf>*</mirrorOf>
<mirrorOf>central</mirrorOf>
<name>Nexus 163</name>
<url>http://mirrors.163.com/maven/repository/maven-public/</url>
</mirror>
<mirror>
<id>nexus-tencentyun</id>
<mirrorOf>*</mirrorOf>
<mirrorOf>central</mirrorOf>
<name>Nexus tencentyun</name>
<url>http://mirrors.cloud.tencent.com/nexus/repository/maven-public/</url>
</mirror>
@ -261,7 +261,9 @@ under the License.
<mirror>
<id>maven-default-http-blocker</id>
<mirrorOf>external:http:*</mirrorOf>
<!--<mirrorOf>external:http:*</mirrorOf>-->
<!--放行 http 协议下载 -->
<mirrorOf>!*</mirrorOf>
<name>Pseudo repository to mirror external repositories initially using HTTP.</name>
<url>http://0.0.0.0/</url>
<blocked>true</blocked>