Switch Java compiler source/target to 1.8

Resolves: RHEL-52701
This commit is contained in:
Marian Koncek 2024-02-20 08:36:51 +01:00 committed by Mikolaj Izdebski
parent fb6a868a78
commit eb7b7933d4

View File

@ -43,7 +43,7 @@ cp -p %{SOURCE1} .
%pom_xpath_inject 'pom:dependency[pom:artifactId="maven-plugin-api"]' '<scope>provided</scope>' %pom_xpath_inject 'pom:dependency[pom:artifactId="maven-plugin-api"]' '<scope>provided</scope>'
%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
%install %install
%mvn_install %mvn_install
@ -56,6 +56,10 @@ cp -p %{SOURCE1} .
%license LICENSE-2.0.txt %license LICENSE-2.0.txt
%changelog %changelog
* Mon Aug 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9-7
- Switch Java compiler source/target to 1.8
- Resolves: RHEL-52701
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 1.9-7 * Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 1.9-7
- Bump release for Aug 2024 java mass rebuild - Bump release for Aug 2024 java mass rebuild