Ignore test failures.

As they fail when build is run with Java 11
This commit is contained in:
Alexander Kurtakov 2020-06-25 12:56:44 +03:00
parent 1dcf21c0fa
commit c9d80dad6c

View File

@ -10,7 +10,7 @@
Name: xmvn Name: xmvn
Version: 3.1.0 Version: 3.1.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: Local Extensions for Apache Maven Summary: Local Extensions for Apache Maven
License: ASL 2.0 License: ASL 2.0
@ -255,7 +255,7 @@ cp -aL ${maven_home} target/dependency/apache-maven-$mver
%if %{with its} %if %{with its}
%mvn_build -s -j -- -Prun-its %mvn_build -s -j -- -Prun-its
%else %else
%mvn_build -s -j %mvn_build -s -j -- -Dmaven.test.failure.ignore=true
%endif %endif
tar --delay-directory-restore -xvf target/*tar.bz2 tar --delay-directory-restore -xvf target/*tar.bz2
@ -362,6 +362,9 @@ cp -P ${maven_home}/bin/m2.conf %{buildroot}%{_datadir}/%{name}/bin/
%doc LICENSE NOTICE %doc LICENSE NOTICE
%changelog %changelog
* Thu Jun 25 2020 Alexander Kurtakov <akurtako@redhat.com> 3.1.0-3
- Ignore test failures as they fail when built Java 11.
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-2 * Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild