[修改]探索如何设置maven镜像源
CI / Docker-Build (push) Successful in 5m3s
Details
CI / Docker-Build (push) Successful in 5m3s
Details
This commit is contained in:
parent
212773e679
commit
e23864fa72
|
@ -24,13 +24,6 @@ jobs:
|
||||||
uses: https://gitea.joylink.club/actions/local-setup-maven@v0.1.1
|
uses: https://gitea.joylink.club/actions/local-setup-maven@v0.1.1
|
||||||
with:
|
with:
|
||||||
maven-version: 3.8.8
|
maven-version: 3.8.8
|
||||||
mirrors: |
|
|
||||||
<mirror>
|
|
||||||
<id>aliyun</id>
|
|
||||||
<name>aliyun maven</name>
|
|
||||||
<url>https://maven.aliyun.com/repository/public</url>
|
|
||||||
<mirrorOf>central</mirrorOf>
|
|
||||||
</mirror>
|
|
||||||
- name: 构建
|
- name: 构建
|
||||||
run: |
|
run: |
|
||||||
mvn -Dmaven.test.skip=true clean package
|
mvn -Dmaven.test.skip=true clean package
|
||||||
|
|
|
@ -23,13 +23,6 @@ jobs:
|
||||||
uses: https://gitea.joylink.club/actions/local-setup-maven@v0.1.1
|
uses: https://gitea.joylink.club/actions/local-setup-maven@v0.1.1
|
||||||
with:
|
with:
|
||||||
maven-version: 3.8.8
|
maven-version: 3.8.8
|
||||||
mirrors: |
|
|
||||||
<mirror>
|
|
||||||
<id>aliyun</id>
|
|
||||||
<name>aliyun maven</name>
|
|
||||||
<url>https://maven.aliyun.com/repository/public</url>
|
|
||||||
<mirrorOf>central</mirrorOf>
|
|
||||||
</mirror>
|
|
||||||
- name: 构建
|
- name: 构建
|
||||||
run: |
|
run: |
|
||||||
mvn -Dmaven.test.skip=true clean package
|
mvn -Dmaven.test.skip=true clean package
|
||||||
|
|
23
pom.xml
23
pom.xml
|
@ -227,5 +227,26 @@
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>aliyun-central</id>
|
||||||
|
<url>https://maven.aliyun.com/repository/central</url>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>aliyun-snapshots</id>
|
||||||
|
<url>https://maven.aliyun.com/repository/snapshots</url>
|
||||||
|
<releases>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</releases>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
<pluginRepositories>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>aliyun-central</id>
|
||||||
|
<url>https://maven.aliyun.com/repository/central</url>
|
||||||
|
</pluginRepository>
|
||||||
|
</pluginRepositories>
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in New Issue