!61 删除特定仓库设置settings.xml

From: @xieguangyao00 
Reviewed-by: @douyiwang 
Signed-off-by: @douyiwang
This commit is contained in:
openeuler-ci-bot 2024-11-19 09:33:48 +00:00 committed by Gitee
commit 32a51c9e25
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 17 deletions

View File

@ -17,7 +17,7 @@
Name: openjfx8
Version: 8u370
Release: 3
Release: 4
Summary: Rich client application platform for Java
#fxpackager is BSD
@ -59,7 +59,6 @@ Source31: build.xml
Source32: buildSrc.xml
Source33: fxpackager-native.xml
Source34: fxpackager-so.xml
Source35: settings.xml
Patch0: 0000-Fix-wait-call-in-PosixPlatform.patch
@ -132,7 +131,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
@ -169,7 +167,7 @@ ant -f build.xml
#set openjdk8 for build
export JAVA_HOME=%{_jvmdir}/java-1.8.0-openjdk
# %%mvn_build
mvn install --settings ./settings.xml
mvn install
%install
install -d -m 755 %{buildroot}%{openjfxdir}
@ -234,6 +232,9 @@ ln -s %{openjfxdir}/bin/javapackager %{buildroot}%{_bindir}
%license LICENSE
%changelog
* Tue Nov 5 2024 xieguangyao00 <xieguangyao@inspur.com> - 8u370-4
- del settings.xml from source
* Tue Jun 04 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 8u370-3
- add loongarch64 support for openjfx8

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://repo.huaweicloud.com/repository/maven/</url>
</mirror>
</mirrors>
</settings>