diff --git a/maven-parent.spec b/maven-parent.spec index 4de0070..aa26e3d 100644 --- a/maven-parent.spec +++ b/maven-parent.spec @@ -1,43 +1,41 @@ +# Workaround for rhbz#1969370: __bootstrap macro is not defined in +# CentOS Stream, See https://bugzilla.redhat.com/1969370 +%global __bootstrap ~bootstrap + +%bcond_without bootstrap + Name: maven-parent Version: 34 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Apache Maven parent POM License: ASL 2.0 - -URL: http://maven.apache.org +URL: https://maven.apache.org Source0: https://repo1.maven.org/maven2/org/apache/maven/%{name}/%{version}/%{name}-%{version}-source-release.zip - BuildArch: noarch BuildRequires: maven-local +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) +BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-remote-resources-plugin) BuildRequires: mvn(org.apache:apache:pom:) BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata) - -# this package obsoletes maven-shared and maven-plugins-pom -Provides: maven-shared = %{version}-%{release} -Obsoletes: maven-shared < 22-9 - -Provides: maven-plugins-pom = %{version}-%{release} -Obsoletes: maven-plugins-pom < 28-9 - -Patch1: remove_javadoc_plugin_taglet.patch +%endif %description Apache Maven parent POM file used by other Maven projects. %prep %setup -q - -%pom_remove_plugin :apache-rat-plugin +%pom_disable_module apache-resource-bundles +%pom_remove_plugin :maven-enforcer-plugin %pom_remove_plugin :maven-checkstyle-plugin -%pom_remove_plugin -r :maven-enforcer-plugin -%pom_remove_plugin :maven-scm-publish-plugin -%pom_remove_plugin :maven-site-plugin +%pom_remove_plugin :apache-rat-plugin -%patch1 -p2 +%pom_xpath_remove "pom:execution[pom:id='generate-helpmojo']" maven-plugins %build %mvn_build @@ -49,8 +47,12 @@ Apache Maven parent POM file used by other Maven projects. %doc LICENSE NOTICE %changelog -* Fri Apr 16 2021 Mohan Boddu - 34-7 -- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 +* Tue Jun 08 2021 Mikolaj Izdebski - 34-8 +- Bootstrap Maven for CentOS Stream 9 + +* Mon May 17 2021 Mikolaj Izdebski - 34-7 +- Bootstrap build +- Non-bootstrap build * Tue Jan 26 2021 Fedora Release Engineering - 34-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild @@ -61,6 +63,9 @@ Apache Maven parent POM file used by other Maven projects. * Fri Jul 10 2020 Jiri Vanek - 34-4 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 +* Mon Jun 22 2020 Marian Koncek - 34-1 +- Update to upstream version 34 + * Fri Mar 27 2020 Severin Gehwolf - 34-3 - Remove javadoc taglet configuration which is not longer available @@ -75,13 +80,22 @@ Apache Maven parent POM file used by other Maven projects. * Wed Jan 29 2020 Fedora Release Engineering - 33-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild +* Tue Nov 05 2019 Mikolaj Izdebski - 33-3 +- Mass rebuild for javapackages-tools 201902 + * Thu Jul 25 2019 Fedora Release Engineering - 33-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild +* Fri May 24 2019 Mikolaj Izdebski - 33-2 +- Mass rebuild for javapackages-tools 201901 + * Fri May 17 2019 Fabio Valentini - 33-1 - Update to upstream version 33 - Obsolete maven-shared and maven-plugins-pom. +* Tue May 14 2019 Mikolaj Izdebski - 33-1 +- Update to upstream version 33 + * Fri Feb 01 2019 Fedora Release Engineering - 27-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/remove_javadoc_plugin_taglet.patch b/remove_javadoc_plugin_taglet.patch deleted file mode 100644 index 63b51e4..0000000 --- a/remove_javadoc_plugin_taglet.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/maven-parent-34/maven-plugins/pom.xml b/maven-parent-34/maven-plugins/pom.xml -index ef0aebe..df9fbc7 100644 ---- a/maven-parent-34/maven-plugins/pom.xml -+++ b/maven-parent-34/maven-plugins/pom.xml -@@ -94,19 +94,6 @@ under the License. - - - -- -- org.apache.maven.plugins -- maven-javadoc-plugin -- -- -- -- org.apache.maven.plugin-tools -- maven-plugin-tools-javadoc -- ${mavenPluginToolsVersion} -- -- -- -- - - org.apache.maven.plugins - maven-release-plugin