del settings.xml

This commit is contained in:
xieguangyao00 2024-11-05 09:57:00 +08:00
parent 762bad5855
commit 3a6370f009
2 changed files with 5 additions and 17 deletions

View File

@ -4,7 +4,7 @@
Name: openjfx
Version: 11.0.3
Release: 6
Release: 7
Summary: Rich client application platform for Java
License: GPL v2 with exceptions and BSD
@ -40,7 +40,6 @@ Source26: pom-swing.xml
Source27: pom-swt.xml
Source28: pom-web.xml
Source29: build.xml
Source30: settings.xml
ExclusiveArch: x86_64 aarch64
@ -96,7 +95,6 @@ find -name '*.class' -delete
find -name '*.jar' -delete
#copy maven files
cp -a %{_sourcedir}/settings.xml .
cp -a %{_sourcedir}/pom-*.xml .
mv pom-openjfx.xml pom.xml
@ -131,7 +129,7 @@ export CFLAGS="${RPM_OPT_FLAGS}"
export CXXFLAGS="${RPM_OPT_FLAGS}"
# %%mvn_build --skip-javadoc
mvn install --settings ./settings.xml
mvn install
%install
@ -156,6 +154,9 @@ cp -a modules/javafx.graphics/mvn-lib{decora,javafx_font,javafx_font_freetype,ja
%doc README
%changelog
* Tue Nov 5 2024 xieguangyao00 <xieguangyao@inspur.com> - 11.0.3-7
- del settings.xml from source
* Wed Jul 21 2021 Noah <hedongbo@huawei.com> - 11.0.3-6
- change maven repository to huawei cloud

View File

@ -1,13 +0,0 @@
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors>
<mirror>
<id>huaweicloud</id>
<mirrorOf>central</mirrorOf>
<name>central repo</name>
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
</mirror>
</mirrors>
</settings>