Set explicit Java compiler source/target levels to 1.7

This commit is contained in:
Mikolaj Izdebski 2021-11-02 16:26:50 +01:00
parent 324ea86ae7
commit 5aa2dd9734

View File

@ -2,7 +2,7 @@
Name: maven-plugin-testing
Version: 3.3.0
Release: 21%{?dist}
Release: 22%{?dist}
Summary: Maven Plugin Testing
License: ASL 2.0
URL: http://maven.apache.org/plugin-testing/
@ -61,7 +61,7 @@ The Maven Plugin Testing Harness provides mechanisms to manage tests on Mojo.
%mvn_alias : org.apache.maven.shared:
%build
%mvn_build -s
%mvn_build -s -- -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7
%install
%mvn_install
@ -73,6 +73,9 @@ The Maven Plugin Testing Harness provides mechanisms to manage tests on Mojo.
%doc LICENSE NOTICE
%changelog
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-22
- Set explicit Java compiler source/target levels to 1.7
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild