From d2c8a1d34d75702ff8763ca1647101ec3eef4999 Mon Sep 17 00:00:00 2001 From: Marian Koncek Date: Sat, 24 Feb 2024 08:53:20 +0100 Subject: [PATCH] Switch Java compiler source/target to 1.8 Resolves: RHEL-52706 --- xml-commons-apis.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xml-commons-apis.spec b/xml-commons-apis.spec index b65a772..72dd709 100644 --- a/xml-commons-apis.spec +++ b/xml-commons-apis.spec @@ -60,7 +60,7 @@ sed -i '/distributionManagement/,/\/distributionManagement/ {d}' *.pom %mvn_alias :xml-apis-ext xerces:dom3-xml-apis %build -ant -Dant.build.javac.source=1.7 -Dant.build.javac.target=1.7 jar javadoc +%ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 jar javadoc # inject OSGi manifests jar ufm build/xml-apis.jar %{SOURCE1} @@ -87,6 +87,10 @@ rm -rf build/docs/javadoc %files javadoc -f .mfiles-javadoc %changelog +* Mon Aug 05 2024 Mikolaj Izdebski - 1.4.01-45 +- Switch Java compiler source/target to 1.8 +- Resolves: RHEL-52706 + * Thu Aug 01 2024 Troy Dawson - 1.4.01-45 - Bump release for Aug 2024 java mass rebuild