Switch Java compiler source/target to 1.8

Resolves: RHEL-52702
This commit is contained in:
Marian Koncek 2024-02-20 08:58:48 +01:00 committed by Mikolaj Izdebski
parent 6702193223
commit 1bbe69b48a

View File

@ -63,7 +63,7 @@ cp -p %{SOURCE1} pom.xml
%mvn_alias org.osgi:osgi.annotation org.osgi:org.osgi.annotation
%build
%mvn_build -- -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
%install
%mvn_install
@ -75,6 +75,10 @@ cp -p %{SOURCE1} pom.xml
%license META-INF/LICENSE META-INF/NOTICE
%changelog
* Mon Aug 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.1.0-6
- Switch Java compiler source/target to 1.8
- Resolves: RHEL-52702
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 8.1.0-6
- Bump release for Aug 2024 java mass rebuild