%bcond_with bootstrap Name: plexus-build-api Version: 0.0.7 Release: 36%{?dist} Summary: Plexus Build API License: ASL 2.0 URL: https://github.com/codehaus-plexus/plexus-build-api BuildArch: noarch Source0: https://github.com/codehaus-plexus/plexus-build-api/archive/refs/tags/plexus-build-api-0.0.7.tar.gz Source1: http://www.apache.org/licenses/LICENSE-2.0.txt # Forwarded upstream: https://github.com/sonatype/sisu-build-api/pull/2 Patch0: %{name}-migration-to-component-metadata.patch Patch1: 0000-Port-to-plexus-utils-3.3.0.patch BuildRequires: maven-local %if %{with bootstrap} BuildRequires: javapackages-bootstrap %else BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata) BuildRequires: mvn(org.codehaus.plexus:plexus-container-default) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) %endif %description Plexus Build API %package javadoc Summary: Javadoc for %{name} %description javadoc API documentation for %{name}. %prep %setup -q -n plexus-build-api-plexus-build-api-0.0.7 cp -p %{SOURCE1} . %patch0 -p1 %patch1 -p1 %pom_remove_parent # From upstream commit: https://github.com/codehaus-plexus/plexus-build-api/commit/6566292a7d85e275b824857bdf92d6504bc4824e %pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/*" 1.8 %mvn_file : plexus/%{name} # Install plexus-build-api-tests as well %mvn_package : %build %mvn_build %install %mvn_install %files -f .mfiles %doc LICENSE-2.0.txt %files javadoc -f .mfiles-javadoc %doc LICENSE-2.0.txt %changelog * Sat Feb 05 2022 Jiri Vanek - 0.0.7-36 - Rebuilt for java-17-openjdk as system jdk * Fri Jan 21 2022 Fedora Release Engineering - 0.0.7-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Nov 02 2021 Mikolaj Izdebski - 0.0.7-34 - Set explicit Java compiler source/target levels to 1.8 * Tue Jul 27 2021 Fedora Release Engineering - 0.0.7-33 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon May 17 2021 Mikolaj Izdebski - 0.0.7-32 - Bootstrap build - Non-bootstrap build * Wed Jan 27 2021 Fedora Release Engineering - 0.0.7-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.0.7-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jul 16 2020 Mat Booth - 0.0.7-29 - Unecessary restriction on plexus-util, with the patch it's actually still source compatible with older versions * Sat Jul 11 2020 Jiri Vanek - 0.0.7-28 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 * Thu Jan 30 2020 Fedora Release Engineering - 0.0.7-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Nov 25 2019 Fabio Valentini - 0.0.7-26 - Remove unnecessary dependency on parent POM. * Wed Nov 13 2019 Fabio Valentini - 0.0.7-25 - Explicitly specify maven compiler source and target versions. * Tue Nov 05 2019 Mikolaj Izdebski - 0.0.7-22 - Mass rebuild for javapackages-tools 201902 * Thu Oct 17 2019 Fabio Valentini - 0.0.7-24 - Port to plexus-utils 3.3.0. * Fri Jul 26 2019 Fedora Release Engineering - 0.0.7-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 24 2019 Mikolaj Izdebski - 0.0.7-21 - Mass rebuild for javapackages-tools 201901 * Sat Feb 02 2019 Fedora Release Engineering - 0.0.7-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.0.7-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Igor Gnatenko - 0.0.7-20 - Escape macros in %%changelog * Fri Feb 09 2018 Fedora Release Engineering - 0.0.7-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.0.7-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.0.7-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.0.7-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.0.7-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Apr 8 2015 Mikolaj Izdebski - 0.0.7-14 - Update to current packaging guidelines * Sat Jun 07 2014 Fedora Release Engineering - 0.0.7-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon May 26 2014 Mikolaj Izdebski - 0.0.7-12 - Remove BuildRequires on maven-surefire-provider-junit4 * Wed May 21 2014 Mikolaj Izdebski - 0.0.7-11 - Use .mfiles generated during build * Tue Mar 04 2014 Stanislav Ochotnicky - 0.0.7-10 - Use Requires: java-headless rebuild (#1067528) * Sun Aug 04 2013 Fedora Release Engineering - 0.0.7-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.0.7-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Feb 06 2013 Java SIG - 0.0.7-7 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local * Mon Nov 26 2012 Mikolaj Izdebski - error: source 0 defined multiple times - Install license files - Resolves: rhbz#880200 * Thu Nov 22 2012 Jaromir Capik - 0.0.7-5 - Migration to plexus-containers-container-default * Sat Jul 21 2012 Fedora Release Engineering - 0.0.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 0.0.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Nov 04 2011 Jaromir Capik - 0.0.7-2 - Migration from plexus-maven-plugin to plexus-containers-component-metadata * Tue Aug 2 2011 Alexander Kurtakov 0.0.7-1 - Update to latest upstream version. * Thu Jun 23 2011 Stanislav Ochotnicky - 0.0.6-7 - Add spice-parent to Requires * Fri Jun 3 2011 Alexander Kurtakov 0.0.6-6 - Build with maven. - Fix requires. - Guidelines fixes. * Wed Feb 09 2011 Fedora Release Engineering - 0.0.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed May 26 2010 Hui Wang 0.0.6-3 - Add missing requires * Wed May 26 2010 Hui Wang 0.0.6-2 - Change JPP-%%{name}.pom to JPP.plexus-%%{name}.pom * Wed May 19 2010 Hui Wang 0.0.6-1 - Initial version of the package