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