Update Java compiler target settings

Related: RHEL-74277
This commit is contained in:
Mikolaj Izdebski 2025-01-16 15:50:43 +01:00
parent a304475ce0
commit e77cd2c7bc

View File

@ -2,7 +2,7 @@
Name: maven-plugin-testing
Version: 3.3.0
Release: 34%{?dist}
Release: 35%{?dist}
Summary: Maven Plugin Testing
License: Apache-2.0
URL: https://maven.apache.org/plugin-testing/
@ -11,9 +11,9 @@ ExclusiveArch: %{java_arches} noarch
Source0: https://repo1.maven.org/maven2/org/apache/maven/plugin-testing/%{name}/%{version}/%{name}-%{version}-source-release.zip
Patch0: 0001-Port-to-plexus-utils-3.0.21.patch
Patch1: 0002-Port-to-current-maven-artifact.patch
Patch2: 0003-Port-to-maven-3.8.1.patch
Patch: 0001-Port-to-plexus-utils-3.0.21.patch
Patch: 0002-Port-to-current-maven-artifact.patch
Patch: 0003-Port-to-maven-3.8.1.patch
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
@ -48,11 +48,8 @@ Summary: Maven Plugin Testing Mechanism
The Maven Plugin Testing Harness provides mechanisms to manage tests on Mojo.
%prep
%setup -q
%autosetup -p1
%patch 0 -p1
%patch 1 -p1
%patch 2 -p1
%pom_remove_plugin :maven-enforcer-plugin
%pom_remove_plugin :maven-site-plugin
@ -64,18 +61,21 @@ The Maven Plugin Testing Harness provides mechanisms to manage tests on Mojo.
%mvn_alias : org.apache.maven.shared:
%build
%mvn_build -s -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
%mvn_build -s -- -Dmaven.compiler.target=8
%install
%mvn_install
%files -f .mfiles-%{name}
%doc LICENSE NOTICE
%license LICENSE NOTICE
%files harness -f .mfiles-%{name}-harness
%files javadoc -f .mfiles-javadoc
%doc LICENSE NOTICE
%license LICENSE NOTICE
%changelog
* Thu Jan 16 2025 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-35
- Update Java compiler target settings
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 3.3.0-34
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
@ -291,7 +291,7 @@ The Maven Plugin Testing Harness provides mechanisms to manage tests on Mojo.
- Fix installed pom.xml source path
* Thu May 27 2010 Yong Yang <yyang@redhat.com> 1:1.2-2.6
- Add more maven depmap for maven-test-tools and maven-plugin-testing-tools for backward compatibility
- Add more maven depmap for maven-test-tools and maven-plugin-testing-tools for backward compatibility
* Thu May 27 2010 Yong Yang <yyang@redhat.com> 1:1.2-2.5
- Fix maven-plugin-testing-tools pom name