Switch Java compiler source/target to 1.8

Resolves: RHEL-52694
This commit is contained in:
Petra Alice Mikova 2024-02-24 12:33:45 +01:00 committed by Mikolaj Izdebski
parent bbddd8ac34
commit 8a56e9c901

View File

@ -44,7 +44,7 @@ Summary: Javadoc for %{name}
%pom_xpath_set pom:project/pom:version %{version} %pom_xpath_set pom:project/pom:version %{version}
%build %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
# inject the OSGi Manifest # inject the OSGi Manifest
mkdir META-INF mkdir META-INF
@ -65,6 +65,10 @@ zip target/%{name}-%{version}.jar plugin.properties
%license LICENSE.txt %license LICENSE.txt
%changelog %changelog
* Mon Aug 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.1.55-15
- Switch Java compiler source/target to 1.8
- Resolves: RHEL-52694
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 0.1.55-15 * Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 0.1.55-15
- Bump release for Aug 2024 java mass rebuild - Bump release for Aug 2024 java mass rebuild