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