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