From e77cd2c7bca77fb9f46624dfe20b456582988796 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 16 Jan 2025 15:50:43 +0100 Subject: [PATCH] Update Java compiler target settings Related: RHEL-74277 --- maven-plugin-testing.spec | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/maven-plugin-testing.spec b/maven-plugin-testing.spec index c9e5c28..2b5c8f6 100644 --- a/maven-plugin-testing.spec +++ b/maven-plugin-testing.spec @@ -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 - 3.3.0-35 +- Update Java compiler target settings + * Tue Oct 29 2024 Troy Dawson - 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 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 1:1.2-2.5 - Fix maven-plugin-testing-tools pom name