!6 [sync] PR-5: 【处理编译失败】处理openEuler:22.03:LTS分支编译失败

From: @openeuler-sync-bot 
Reviewed-by: @wangchong1995924 
Signed-off-by: @wangchong1995924
This commit is contained in:
openeuler-ci-bot 2022-03-02 06:58:29 +00:00 committed by Gitee
commit cab8f0aaf9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: xmvn Name: xmvn
Version: 3.0.0 Version: 3.0.0
Release: 23 Release: 24
Summary: Local Extensions for Apache Maven Summary: Local Extensions for Apache Maven
License: ASL 2.0 License: ASL 2.0
URL: https://fedora-java.github.io/xmvn/ URL: https://fedora-java.github.io/xmvn/
@ -159,6 +159,11 @@ mver=$(sed -n '/<mavenVersion>/{s/.*>\(.*\)<.*/\1/;p}' \
install -d target/dependency/ install -d target/dependency/
cp -aL ${maven_home} target/dependency/apache-maven-$mver cp -aL ${maven_home} target/dependency/apache-maven-$mver
sed -i 's/CONFIG\/2.0.0/METADATA\/3.0.0/g' xmvn-tools/xmvn-install/src/test/resources/test-pkg.xml
sed -i 's/CONFIG\/2.0.0/METADATA\/3.0.0/g' xmvn-tools/xmvn-install/src/test/resources/test-pkg-resolved.xml
sed -i 's/CONFIG\/2.0.0/METADATA\/3.0.0/g' xmvn-tools/xmvn-install/src/test/resources/test-pkg-main.xml
sed -i 's/CONFIG\/2.0.0/METADATA\/3.0.0/g' xmvn-tools/xmvn-install/src/test/resources/test-pkg-sub.xml
%build %build
%mvn_build -s -j %mvn_build -s -j
@ -249,6 +254,9 @@ cp -P ${maven_home}/bin/m2.conf %{buildroot}%{_datadir}/xmvn/bin/
%doc NOTICE %doc NOTICE
%changelog %changelog
* Mon Feb 28 2022 Ge Wang <wangge20@huawei.com> 3.0.0-24
- Modify tests file due to maven upgrade to version 3.6.3
* Mon Sep 14 2020 maminjie <maminjie1@huawei.com> 3.0.0-23 * Mon Sep 14 2020 maminjie <maminjie1@huawei.com> 3.0.0-23
- Port to Gradle 4.4.1 - Port to Gradle 4.4.1