Switch Java compiler source/target to 1.8

Resolves: RHEL-52688
This commit is contained in:
Marian Koncek 2024-02-20 09:53:33 +01:00 committed by Mikolaj Izdebski
parent a8f10aaa37
commit 405c33ff4b

View File

@ -38,16 +38,17 @@ This package contains the API documentation for %{name}.
%prep
%setup -q -n %{bundle}-%{version}
%patch0 -p1
%patch 0 -p1
%pom_remove_parent
%pom_xpath_inject pom:project "<groupId>org.apache.felix</groupId>"
%pom_remove_plugin :apache-rat-plugin
%pom_remove_plugin :maven-compiler-plugin
%mvn_file :%{bundle} "felix/%{bundle}"
%build
%mvn_build
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
%install
%mvn_install
@ -60,6 +61,10 @@ This package contains the API documentation for %{name}.
%license LICENSE NOTICE
%changelog
* Mon Aug 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.11.8-9
- Switch Java compiler source/target to 1.8
- Resolves: RHEL-52688
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 1.11.8-9
- Bump release for Aug 2024 java mass rebuild