60ff8d
%bcond_with bootstrap
60ff8d
60ff8d
Name:           maven-shared-utils
60ff8d
Version:        3.3.4
60ff8d
Release:        5%{?dist}
60ff8d
Summary:        Maven shared utility classes
60ff8d
License:        ASL 2.0
60ff8d
URL:            https://maven.apache.org/shared/maven-shared-utils
60ff8d
BuildArch:      noarch
60ff8d
ExclusiveArch:  %{java_arches} noarch
60ff8d
60ff8d
Source0:        https://repo1.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/%{name}-%{version}-source-release.zip
60ff8d
# XXX temporary for maven upgrade
60ff8d
Patch1:         0001-Restore-compatibility-with-current-maven.patch
60ff8d
Patch2:         0002-Avoid-setting-POSIX-attributes-for-symbolic-links.patch
60ff8d
60ff8d
%if %{with bootstrap}
60ff8d
BuildRequires:  javapackages-bootstrap-openjdk8
60ff8d
%else
60ff8d
BuildRequires:  maven-local-openjdk8
60ff8d
BuildRequires:  mvn(com.google.code.findbugs:jsr305)
60ff8d
BuildRequires:  %{?module_prefix}mvn(commons-io:commons-io)
60ff8d
BuildRequires:  mvn(junit:junit)
60ff8d
BuildRequires:  mvn(org.apache.commons:commons-lang3)
60ff8d
BuildRequires:  mvn(org.apache.maven:maven-core)
60ff8d
BuildRequires:  mvn(org.apache.maven.plugin-testing:maven-plugin-testing-harness)
60ff8d
BuildRequires:  mvn(org.apache.maven.shared:maven-shared-components:pom:)
60ff8d
BuildRequires:  mvn(org.codehaus.plexus:plexus-container-default)
60ff8d
BuildRequires:  mvn(org.fusesource.jansi:jansi)
60ff8d
BuildRequires:  mvn(org.hamcrest:hamcrest-core)
60ff8d
%endif
60ff8d
60ff8d
%description
60ff8d
This project aims to be a functional replacement for plexus-utils in Maven.
60ff8d
60ff8d
It is not a 100% API compatible replacement though but a replacement with
60ff8d
improvements: lots of methods got cleaned up, generics got added and we dropped
60ff8d
a lot of unused code.
60ff8d
60ff8d
%{?javadoc_package}
60ff8d
60ff8d
%prep
60ff8d
%setup -q
60ff8d
60ff8d
find -name '*.java' -exec sed -i 's/\r//' {} +
60ff8d
60ff8d
%patch1 -p1
60ff8d
%patch2 -p1
60ff8d
60ff8d
%pom_remove_plugin org.codehaus.mojo:findbugs-maven-plugin
60ff8d
60ff8d
%pom_remove_dep org.apache.commons:commons-text
60ff8d
rm src/test/java/org/apache/maven/shared/utils/CaseTest.java
60ff8d
60ff8d
%build
60ff8d
%mvn_build
60ff8d
60ff8d
%install
60ff8d
%mvn_install
60ff8d
60ff8d
%files -f .mfiles
60ff8d
%license LICENSE NOTICE
60ff8d
60ff8d
%changelog
60ff8d
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.4-5
60ff8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
60ff8d
60ff8d
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 3.3.4-4
60ff8d
- Rebuilt for java-17-openjdk as system jdk
60ff8d
60ff8d
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.4-3
60ff8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
60ff8d
60ff8d
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.4-2
60ff8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
60ff8d
60ff8d
* Fri Jun 25 2021 Marian Koncek <mkoncek@redhat.com> - 3.3.4-1
60ff8d
- Update to upstream version 3.3.4
60ff8d
60ff8d
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.3-2
60ff8d
- Bootstrap build
60ff8d
- Non-bootstrap build
60ff8d
60ff8d
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-0.8
60ff8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
60ff8d
60ff8d
* Fri Sep 11 2020 Marian Koncek <mkoncek@redhat.com> - 3.3.3-1
60ff8d
- Update to upstream version 3.3.3
60ff8d
60ff8d
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-0.7
60ff8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
60ff8d
60ff8d
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 3.2.1-0.6
60ff8d
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
60ff8d
60ff8d
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-0.5
60ff8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
60ff8d
60ff8d
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.1-0.4
60ff8d
- Build with OpenJDK 8
60ff8d
60ff8d
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.1-0.3
60ff8d
- Mass rebuild for javapackages-tools 201902
60ff8d
60ff8d
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-0.4
60ff8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
60ff8d
60ff8d
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.1-0.2
60ff8d
- Mass rebuild for javapackages-tools 201901
60ff8d
60ff8d
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-0.3
60ff8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
60ff8d
60ff8d
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-0.2
60ff8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
60ff8d
60ff8d
* Mon Feb 26 2018 Michael Simacek <msimacek@redhat.com> - 3.2.1-0.1
60ff8d
- Update to upstream version 3.2.1 (patched temporary)
60ff8d
60ff8d
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-6
60ff8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
60ff8d
60ff8d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-5
60ff8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
60ff8d
60ff8d
* Mon Feb 13 2017 Michael Simacek <msimacek@redhat.com> - 3.1.0-4
60ff8d
- Regenerate BuildRequires
60ff8d
60ff8d
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-3
60ff8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
60ff8d
60ff8d
* Wed Jul 27 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1.0-2
60ff8d
- Re-enable tests
60ff8d
60ff8d
* Fri Jul 22 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1.0-0.1.RC
60ff8d
- Update to upstream version 3.1.0
60ff8d
- Temporarly disable tests
60ff8d
60ff8d
* Fri Jul 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0.1-2
60ff8d
- Remove unneeded build-requires
60ff8d
60ff8d
* Thu Jun  2 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0.1-1
60ff8d
- Update to upstream version 3.0.1
60ff8d
60ff8d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-3
60ff8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
60ff8d
60ff8d
* Fri Oct 16 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0.0-2
60ff8d
- Enable all tests
60ff8d
60ff8d
* Mon Oct 12 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0.0-1
60ff8d
- Update to upstream version 3.0.0
60ff8d
60ff8d
* Mon Sep 21 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.9-1
60ff8d
- Update to upstream version 0.9
60ff8d
60ff8d
* Mon Jun 22 2015 Michal Srb <msrb@redhat.com> - 0.8-1
60ff8d
- Update to upstream release 0.8
60ff8d
60ff8d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
60ff8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
60ff8d
60ff8d
* Fri Oct 24 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.7-1
60ff8d
- Update to upstream version 0.7
60ff8d
60ff8d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
60ff8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
60ff8d
60ff8d
* Mon Mar 24 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.6-1
60ff8d
- Update to upstream version 0.6
60ff8d
60ff8d
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.5-3
60ff8d
- Use Requires: java-headless rebuild (#1067528)
60ff8d
60ff8d
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.5-2
60ff8d
- Fix unowned directory
60ff8d
60ff8d
* Mon Dec 23 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.5-1
60ff8d
- Update to upstream version 0.5
60ff8d
- Remove patch for MSHARED-285 (accepted upstream)
60ff8d
60ff8d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
60ff8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
60ff8d
60ff8d
* Mon Apr 22 2013 Tomas Radej <tradej@redhat.com> - 0.4-1
60ff8d
- Updated to latest upstream version
60ff8d
- Fixed and reenabled tests
60ff8d
60ff8d
* Mon Apr 08 2013 Michal Srb <msrb@redhat.com> - 0.3-2
60ff8d
- Disable tests (they don't work with junit >= 4.11)
60ff8d
60ff8d
* Fri Mar 15 2013 Michal Srb <msrb@redhat.com> - 0.3-1
60ff8d
- Update to upstream version 0.3
60ff8d
60ff8d
* Tue Feb 19 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.2-4
60ff8d
- Build with xmvn
60ff8d
60ff8d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-3
60ff8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
60ff8d
60ff8d
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 0.2-2
60ff8d
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
60ff8d
- Replace maven BuildRequires with maven-local
60ff8d
60ff8d
* Wed Jan 16 2013 Tomas Radej <tradej@redhat.com> - 0.2-1
60ff8d
- Initial version