Switch Java compiler source/target to 1.8

Resolves: RHEL-52706
This commit is contained in:
Marian Koncek 2024-02-24 08:53:20 +01:00 committed by Mikolaj Izdebski
parent 23de75da5b
commit d2c8a1d34d

View File

@ -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 <mizdebsk@redhat.com> - 1.4.01-45
- Switch Java compiler source/target to 1.8
- Resolves: RHEL-52706
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 1.4.01-45
- Bump release for Aug 2024 java mass rebuild