# 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-antrun-plugin Version: 3.0.0 Release: 4%{?dist} Summary: Maven AntRun Plugin License: ASL 2.0 URL: https://maven.apache.org/plugins/maven-antrun-plugin/ BuildArch: noarch Source0: https://repo1.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip BuildRequires: maven-local %if %{with bootstrap} BuildRequires: javapackages-bootstrap %else BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.ant:ant) BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-plugins:pom:) BuildRequires: mvn(org.apache.maven:maven-artifact) BuildRequires: mvn(org.apache.maven:maven-core) BuildRequires: mvn(org.apache.maven:maven-plugin-api) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) BuildRequires: mvn(org.hamcrest:hamcrest-core) BuildRequires: mvn(org.xmlunit:xmlunit-core) BuildRequires: mvn(org.xmlunit:xmlunit-matchers) %endif %description This plugin provides the ability to run Ant tasks from within Maven. It is even possible to embed Ant scripts in the POM. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains the API documentation for %{name}. %prep %setup -q %build %mvn_build %install %mvn_install %files -f .mfiles %doc LICENSE NOTICE %files javadoc -f .mfiles-javadoc %doc LICENSE NOTICE %changelog * Wed Jun 09 2021 Mikolaj Izdebski - 3.0.0-4 - Rebuild to workaround DistroBaker issue * Tue Jun 08 2021 Mikolaj Izdebski - 3.0.0-3 - Bootstrap Maven for CentOS Stream 9 * Mon May 17 2021 Mikolaj Izdebski - 3.0.0-2 - Bootstrap build - Non-bootstrap build * Tue Jan 26 2021 Fedora Release Engineering - 1.8-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.8-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 10 2020 Jiri Vanek - 1.8-11 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 * Sun May 17 2020 Mikolaj Izdebski - 3.0.0-1 - Update to upstream version 3.0.0 * Wed Jan 29 2020 Fedora Release Engineering - 1.8-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Nov 05 2019 Mikolaj Izdebski - 1.8-8 - Mass rebuild for javapackages-tools 201902 * Thu Jul 25 2019 Fedora Release Engineering - 1.8-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 24 2019 Mikolaj Izdebski - 1.8-7 - Mass rebuild for javapackages-tools 201901 * Fri Feb 01 2019 Fedora Release Engineering - 1.8-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jan 26 2015 Michal Srb - 1.8-1 - Update to upstream release 1.8 * Tue Oct 14 2014 Mikolaj Izdebski - 1.7-10 - Remove legacy Obsoletes/Provides for maven2 plugin * Mon Aug 4 2014 Mikolaj Izdebski - 1.7-9 - Fix build-requires on parent POM * Sat Jun 07 2014 Fedora Release Engineering - 1.7-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Mar 04 2014 Stanislav Ochotnicky - 1.7-7 - Use Requires: java-headless rebuild (#1067528) * Mon Sep 02 2013 Michal Srb - 1.7-6 - Adapt to current guidelines * Thu Feb 14 2013 Fedora Release Engineering - 1.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Feb 06 2013 Java SIG - 1.7-4 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local * Thu Jul 19 2012 Fedora Release Engineering - 1.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Nov 1 2011 Alexander Kurtakov 1.7-1 - Update to 1.7 upstream release. * Wed Jun 8 2011 Alexander Kurtakov 1.6-4 - Build with maven 3.x. * Tue Feb 08 2011 Fedora Release Engineering - 1.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Jan 10 2011 Alexander Kurtakov 1.6-2 - Make it work with ant 1.8.2. * Thu Oct 14 2010 Alexander Kurtakov 1.6-1 - Update to 1.6. * Mon Sep 20 2010 Alexander Kurtakov 1.5-1 - Update to 1.5. - Use upstream tarball. - Add License and readme as doc. * Tue Aug 31 2010 Alexander Kurtakov 1.4-4 - Fix runtime issue of not finding ant-launcher. * Tue Aug 31 2010 Alexander Kurtakov 1.4-3 - Add patch to fix build. * Fri May 28 2010 Alexander Kurtakov 1.4-2 - Add provides/obsoletes. * Thu May 27 2010 Alexander Kurtakov 1.4-1 - Initial package.