3d63a1
%bcond_with bootstrap
3d63a1
3d63a1
Name:           plexus-classworlds
3d63a1
Version:        2.6.0
3d63a1
Release:        12%{?dist}
3d63a1
Summary:        Plexus Classworlds Classloader Framework
3d63a1
License:        ASL 2.0 and Plexus
3d63a1
URL:            https://github.com/codehaus-plexus/plexus-classworlds
3d63a1
BuildArch:      noarch
3d63a1
ExclusiveArch:  %{java_arches} noarch
3d63a1
3d63a1
Source0:        https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{version}.tar.gz
3d63a1
3d63a1
%if %{with bootstrap}
3d63a1
BuildRequires:  javapackages-bootstrap-openjdk8
3d63a1
%else
3d63a1
BuildRequires:  maven-local-openjdk8
3d63a1
BuildRequires:  mvn(junit:junit)
3d63a1
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
3d63a1
BuildRequires:  mvn(org.codehaus.plexus:plexus:pom:)
3d63a1
%endif
3d63a1
3d63a1
%description
3d63a1
Classworlds is a framework for container developers
3d63a1
who require complex manipulation of Java's ClassLoaders.
3d63a1
Java's native ClassLoader mechanisms and classes can cause
3d63a1
much headache and confusion for certain types of
3d63a1
application developers. Projects which involve dynamic
3d63a1
loading of components or otherwise represent a 'container'
3d63a1
can benefit from the classloading control provided by
3d63a1
classworlds.
3d63a1
3d63a1
%{?javadoc_package}
3d63a1
3d63a1
%prep
3d63a1
%setup -q -n %{name}-%{name}-%{version}
3d63a1
%mvn_file : %{name} plexus/classworlds
3d63a1
%mvn_alias : classworlds:classworlds
3d63a1
3d63a1
%pom_add_dep junit:junit:4.13.1:test
3d63a1
3d63a1
%pom_remove_plugin :maven-enforcer-plugin
3d63a1
%pom_remove_plugin :maven-dependency-plugin
3d63a1
3d63a1
# These tests depend on artifacts that are not packaged
3d63a1
sed -i /testConfigure_Valid/s/./@org.junit.Ignore/ $(find -name ConfiguratorTest.java)
3d63a1
sed -i /testConfigure_Optionally_Existent/s/./@org.junit.Ignore/ $(find -name ConfiguratorTest.java)
3d63a1
3d63a1
%build
3d63a1
%mvn_build
3d63a1
3d63a1
%install
3d63a1
%mvn_install
3d63a1
3d63a1
%files -f .mfiles
3d63a1
%license LICENSE.txt LICENSE-2.0.txt
3d63a1
3d63a1
%changelog
3d63a1
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-12
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
3d63a1
3d63a1
* Fri Apr 29 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6.0-11
3d63a1
- Add missing test dependency on JUnit 4
3d63a1
3d63a1
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 2.6.0-10
3d63a1
- Rebuilt for java-17-openjdk as system jdk
3d63a1
3d63a1
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-9
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
3d63a1
3d63a1
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-8
3d63a1
- Second attempt - Rebuilt for
3d63a1
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
3d63a1
3d63a1
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6.0-7
3d63a1
- Bootstrap build
3d63a1
- Non-bootstrap build
3d63a1
3d63a1
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-6
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
3d63a1
3d63a1
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-5
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3d63a1
3d63a1
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 2.6.0-4
3d63a1
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
3d63a1
3d63a1
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-3
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
3d63a1
3d63a1
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6.0-4
3d63a1
- Build with OpenJDK 8
3d63a1
3d63a1
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6.0-3
3d63a1
- Mass rebuild for javapackages-tools 201902
3d63a1
3d63a1
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-2
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3d63a1
3d63a1
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6.0-2
3d63a1
- Mass rebuild for javapackages-tools 201901
3d63a1
3d63a1
* Tue May 14 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6.0-1
3d63a1
- Update to upstream version 2.6.0
3d63a1
3d63a1
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-11
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
3d63a1
3d63a1
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-10
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3d63a1
3d63a1
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-9
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3d63a1
3d63a1
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-8
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3d63a1
3d63a1
* Mon Feb 13 2017 Michael Simacek <msimacek@redhat.com> - 2.5.2-7
3d63a1
- Add missing BRs
3d63a1
3d63a1
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-6
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3d63a1
3d63a1
* Wed Jun 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5.2-5
3d63a1
- Add missing build-requires
3d63a1
3d63a1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-4
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3d63a1
3d63a1
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.2-3
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3d63a1
3d63a1
* Wed Apr  1 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5.2-2
3d63a1
- Update upstream URL
3d63a1
3d63a1
* Sat Aug 30 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5.2-1
3d63a1
- Update to upstream version 2.5.2
3d63a1
3d63a1
* Thu Jun 12 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5.1-5
3d63a1
- Obsolete classworlds
3d63a1
3d63a1
* Mon Jun  9 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5.1-4
3d63a1
- Add alias for classworlds:classworlds
3d63a1
3d63a1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-3
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3d63a1
3d63a1
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.5.1-2
3d63a1
- Use Requires: java-headless rebuild (#1067528)
3d63a1
3d63a1
* Mon Aug 19 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5.1-1
3d63a1
- Update to upstream version 2.5.1
3d63a1
3d63a1
* Mon Aug 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5-1
3d63a1
- Update to upstream version 2.5
3d63a1
- Update to current packaging guidelines
3d63a1
3d63a1
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-5
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3d63a1
3d63a1
* Thu Apr 11 2013 Mat Booth <fedora@matbooth.co.uk> - 2.4.2-4
3d63a1
- Remove superfluous BRs, fixes rhbz #915616
3d63a1
3d63a1
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-3
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3d63a1
3d63a1
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.4.2-2
3d63a1
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
3d63a1
- Replace maven BuildRequires with maven-local
3d63a1
3d63a1
* Tue Jan 22 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.4.2-1
3d63a1
- Update to latest bugfix release 2.4.2 (#895445)
3d63a1
3d63a1
* Wed Nov 21 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.4-11
3d63a1
- Install required ASL 2.0 license text
3d63a1
3d63a1
* Wed Nov 21 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4-10
3d63a1
- Revert change from 2.4-9
3d63a1
3d63a1
* Tue Nov 20 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4-9
3d63a1
- Provide and obsolete classworlds
3d63a1
3d63a1
* Mon Nov 19 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.4-8
3d63a1
- Fix source URL to be stable
3d63a1
3d63a1
* Tue Aug  7 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.4-7
3d63a1
- Export only proper OSGI packages
3d63a1
- Do not generate "uses" OSGI clauses
3d63a1
3d63a1
* Mon Aug 06 2012 Gerard Ryan <galileo@fedoraproject.org> - 2.4-6
3d63a1
- Generate OSGI info using maven-plugin-bundle
3d63a1
3d63a1
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-5
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3d63a1
3d63a1
* Thu Apr  5 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4-4
3d63a1
- Update to maven 3
3d63a1
- Remove rpm bug workaround
3d63a1
3d63a1
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-3
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3d63a1
3d63a1
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-2
3d63a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3d63a1
3d63a1
* Wed Feb  2 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.4-1
3d63a1
- Update to latest upstream version
3d63a1
- Drop ant build parts
3d63a1
- Versionless jars & javadocs
3d63a1
- Enable tests again
3d63a1
3d63a1
* Tue Dec 21 2010 Alexander Kurtakov <akurtako@redhat.com> 2.2.3-2
3d63a1
- Fix FTBFS.
3d63a1
3d63a1
* Tue Jul 13 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2.3-1
3d63a1
- Version bump
3d63a1
- Fix few small packaging guidelines violations
3d63a1
3d63a1
* Thu Aug 20 2009 Andrew Overholt <overholt@redhat.com> 0:1.2-0.a9.8
3d63a1
- Bump release.
3d63a1
3d63a1
* Wed Aug 19 2009 Andrew Overholt <overholt@redhat.com> 0:1.2-0.a9.7
3d63a1
- Document sources and patches
3d63a1
3d63a1
* Wed Aug 19 2009 Andrew Overholt <overholt@redhat.com> 0:1.2-0.a9.6
3d63a1
- Update tarball-building instructions
3d63a1
- Remove gcj support
3d63a1
- Remove unnecessary post requirements
3d63a1
3d63a1
* Thu May 14 2009 Fernando Nasser <fnasser@redhat.com> 0:1.2-0.a9.6
3d63a1
- Fix license specification
3d63a1
3d63a1
* Tue Apr 28 2009 Yong Yang <yyang@redhat.com> 0:1.2-0.a9.5
3d63a1
- Add BRs maven2-plugin-surfire*, maven-doxia*
3d63a1
- Rebuild with maven2-2.0.8 built in non-bootstrap mode
3d63a1
3d63a1
* Mon Mar 16 2009 Yong Yang <yyang@redhat.com> 0:1.2-0.a9.4
3d63a1
- rebuild with new maven2 2.0.8 built in bootstrap mode
3d63a1
3d63a1
* Tue Jan 13 2009 Yong Yang <yyang@redhat.com> 0:1.2-0.a9.3jpp.1
3d63a1
- re-build with maven
3d63a1
3d63a1
* Tue Jan 06 2009 Yong Yang <yyang@redhat.com> 0:1.2-0.a9.2jpp.1
3d63a1
- Imported into devel from dbhole's maven 2.0.8 packages
3d63a1
3d63a1
* Wed Jan 30 2008 Deepak Bhole <dbhole@redhat.com> 0:1.2-0.a9.1jpp.1
3d63a1
- Initial build -- merged from JPackage