From 405c33ff4bdab9b6f6cf32f40f3e5d507c6d56aa Mon Sep 17 00:00:00 2001 From: Marian Koncek Date: Tue, 20 Feb 2024 09:53:33 +0100 Subject: [PATCH] Switch Java compiler source/target to 1.8 Resolves: RHEL-52688 --- felix-utils.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/felix-utils.spec b/felix-utils.spec index efce59b..9930dee 100644 --- a/felix-utils.spec +++ b/felix-utils.spec @@ -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 "org.apache.felix" %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 - 1.11.8-9 +- Switch Java compiler source/target to 1.8 +- Resolves: RHEL-52688 + * Thu Aug 01 2024 Troy Dawson - 1.11.8-9 - Bump release for Aug 2024 java mass rebuild