Build with default JDK 17

This commit is contained in:
Mikolaj Izdebski 2023-08-15 10:22:58 +02:00
parent af06839278
commit 5448446101

View File

@ -7,7 +7,7 @@
Name: maven Name: maven
Epoch: 1 Epoch: 1
Version: 3.9.1 Version: 3.9.1
Release: 3%{?dist} Release: 4%{?dist}
Summary: Java project management and project comprehension tool Summary: Java project management and project comprehension tool
# maven itself is ASL 2.0 # maven itself is ASL 2.0
# bundled slf4j is MIT # bundled slf4j is MIT
@ -26,9 +26,9 @@ Patch2: 0002-Invoke-logback-via-reflection.patch
Patch3: 0003-Remove-dependency-on-powermock.patch Patch3: 0003-Remove-dependency-on-powermock.patch
%if %{with bootstrap} %if %{with bootstrap}
BuildRequires: javapackages-bootstrap-openjdk8 BuildRequires: javapackages-bootstrap
%else %else
BuildRequires: maven-local-openjdk8 BuildRequires: maven-local
BuildRequires: mvn(com.google.guava:failureaccess) BuildRequires: mvn(com.google.guava:failureaccess)
BuildRequires: mvn(com.google.guava:guava) BuildRequires: mvn(com.google.guava:guava)
BuildRequires: mvn(com.google.inject:guice) BuildRequires: mvn(com.google.inject:guice)
@ -296,6 +296,9 @@ if [[ $1 -eq 0 ]]; then update-alternatives --remove mvn %{homedir}/bin/mvn; fi
%config %{_javaconfdir}/maven.conf-openjdk17 %config %{_javaconfdir}/maven.conf-openjdk17
%changelog %changelog
* Tue Aug 15 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.9.1-4
- Build with default JDK 17
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.9.1-3 * Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.9.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild