I3CM07: change maven repository to ali cloud && add settings.xml to source

This commit is contained in:
Noah 2021-03-23 12:47:00 +08:00
parent 84024f8ff1
commit ffbe4da887
2 changed files with 12 additions and 7 deletions

View File

@ -4,7 +4,7 @@
Name: openjfx Name: openjfx
Version: 11.0.3 Version: 11.0.3
Release: 3 Release: 4
Summary: Rich client application platform for Java Summary: Rich client application platform for Java
License: GPL v2 with exceptions and BSD License: GPL v2 with exceptions and BSD
@ -40,6 +40,7 @@ Source26: pom-swing.xml
Source27: pom-swt.xml Source27: pom-swt.xml
Source28: pom-web.xml Source28: pom-web.xml
Source29: build.xml Source29: build.xml
Source30: settings.xml
ExclusiveArch: x86_64 aarch64 ExclusiveArch: x86_64 aarch64
@ -155,6 +156,10 @@ cp -a modules/javafx.graphics/mvn-lib{decora,javafx_font,javafx_font_freetype,ja
%doc README %doc README
%changelog %changelog
* Tue Mar 23 2021 Noah <hedongbo@huawei.com> - 11.0.3-4
- change maven repository to ali cloud
- add settings.xml to source
* Mon Dec 21 2020 Noah <hedongbo@huawei.com> - 11.0.3-3 * Mon Dec 21 2020 Noah <hedongbo@huawei.com> - 11.0.3-3
- add a license to this repo - add a license to this repo

View File

@ -3,11 +3,11 @@
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd"> http://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors> <mirrors>
<mirror> <mirror>
<id>huaweicloud</id> <id>aliyun-central</id>
<mirrorOf>central</mirrorOf> <mirrorOf>*</mirrorOf>
<name>central repo</name> <name>aliyun central</name>
<url>https://mirrors.huaweicloud.com/repository/maven/</url> <url>https://maven.aliyun.com/repository/central</url>
</mirror> </mirror>
</mirrors> </mirrors>
</settings> </settings>