%bcond_with bootstrap
Name: plexus-containers
Version: 2.1.0
Release: 9%{?dist}
Summary: Containers for Plexus
# Most of the files are either under ASL 2.0 or MIT
# The following files are under xpp:
# plexus-component-metadata/src/main/java/org/codehaus/plexus/metadata/merge/Driver.java
# plexus-component-metadata/src/main/java/org/codehaus/plexus/metadata/merge/MXParser.java
License: ASL 2.0 and MIT and xpp
URL: https://github.com/codehaus-plexus/plexus-containers
BuildArch: noarch
Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{version}.tar.gz
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
Source2: LICENSE.MIT
BuildRequires: maven-local-openjdk8
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: mvn(com.google.guava:guava)
BuildRequires: mvn(com.thoughtworks.qdox:qdox)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven:maven-core)
BuildRequires: mvn(org.apache.maven:maven-model)
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
BuildRequires: mvn(org.apache.xbean:xbean-reflect)
BuildRequires: mvn(org.codehaus.plexus:plexus-classworlds)
BuildRequires: mvn(org.codehaus.plexus:plexus:pom:)
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
BuildRequires: mvn(org.jdom:jdom2)
BuildRequires: mvn(org.ow2.asm:asm)
%endif
%description
The Plexus project seeks to create end-to-end developer tools for
writing applications. At the core is the container, which can be
embedded or for a full scale application server. There are many
reusable components for hibernate, form processing, jndi, i18n,
velocity, etc. Plexus also includes an application server which
is like a J2EE application server, without all the baggage.
%package component-metadata
Summary: Component metadata from %{name}
%description component-metadata
%{summary}.
%package component-annotations
Summary: Component API from %{name}
%description -n %{?module_prefix}%{name}-component-annotations
%{summary}.
%package container-default
Summary: Default Container from %{name}
%description container-default
%{summary}.
%{?javadoc_package}
%prep
%setup -q -n %{name}-%{name}-%{version}
cp %{SOURCE1} .
cp %{SOURCE2} .
%pom_remove_plugin -r :maven-site-plugin
%pom_change_dep -r :google-collections com.google.guava:guava
# Generate OSGI info
%pom_xpath_inject "pom:project" "
bundle
org.apache.felix
maven-bundle-plugin
true
<_nouses>true
org.codehaus.plexus.component.annotations.*
" plexus-component-annotations
# plexus-component-api has been merged into plexus-container-default
%mvn_alias ":plexus-container-default" "org.codehaus.plexus:containers-component-api"
# keep compat symlink for maven's sake
%mvn_file ":plexus-component-annotations" %{name}/plexus-component-annotations plexus/containers-component-annotations
# remove some broken tests
rm plexus-component-metadata/src/test/java/org/codehaus/plexus/metadata/merge/ComponentsXmlMergerTest.java
rm plexus-component-metadata/src/test/java/org/codehaus/plexus/metadata/DefaultComponentDescriptorWriterTest.java
%build
%mvn_build -s
%install
%mvn_install
# plexus-containers pom goes into main package
%files -f .mfiles-plexus-containers
%license LICENSE-2.0.txt LICENSE.MIT
%files component-annotations -f .mfiles-plexus-component-annotations
%license LICENSE-2.0.txt LICENSE.MIT
%files container-default -f .mfiles-plexus-container-default
%license LICENSE-2.0.txt LICENSE.MIT
%files component-metadata -f .mfiles-plexus-component-metadata
%license LICENSE-2.0.txt LICENSE.MIT
%changelog
* Mon Aug 09 2021 Mohan Boddu - 2.1.0-9
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Wed Jun 09 2021 Mikolaj Izdebski - 2.1.0-8
- Rebuild to workaround DistroBaker issue
* Tue Jun 08 2021 Mikolaj Izdebski - 2.1.0-7
- Bootstrap Maven for CentOS Stream 9
* Mon May 17 2021 Mikolaj Izdebski - 2.1.0-6
- Bootstrap build
- Non-bootstrap build
* Wed Jan 27 2021 Fedora Release Engineering - 2.1.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering - 2.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat Jul 11 2020 Jiri Vanek - 2.1.0-3
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Thu Jan 30 2020 Fedora Release Engineering - 2.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jan 25 2020 Mikolaj Izdebski - 2.1.0-2
- Build with OpenJDK 8
* Wed Nov 20 2019 Marian Koncek - 2.1.0-1
- Update to upstream version 2.1.0
* Tue Nov 05 2019 Mikolaj Izdebski - 2.0.0-2
- Mass rebuild for javapackages-tools 201902
* Thu Oct 24 2019 Fabio Valentini - 2.1.0-1
- Update to version 2.1.0.
* Tue Aug 20 2019 Fabio Valentini - 2.0.0-1
- Update to version 2.0.0.
* Fri Jul 26 2019 Fedora Release Engineering - 1.7.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 30 2019 Marian Koncek - 2.0.0-1
- Update to upstream version 2.0.0
* Fri May 24 2019 Mikolaj Izdebski - 1.7.1-9
- Mass rebuild for javapackages-tools 201901
* Sat Feb 02 2019 Fedora Release Engineering - 1.7.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Jul 31 2018 Michael Simacek - 1.7.1-8
- Fix license tag
- Include missing license files
* Fri Jul 13 2018 Fedora Release Engineering - 1.7.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Apr 18 2018 Mikolaj Izdebski - 1.7.1-6
- Remove legaty Obsoletes/Provides
* Fri Feb 09 2018 Fedora Release Engineering - 1.7.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Feb 05 2018 Michael Simacek - 1.7.1-4
- Use guava20
* Thu Jul 27 2017 Fedora Release Engineering - 1.7.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering - 1.7.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Fri Jan 20 2017 Michael Simacek - 1.7.1-1
- Update to upstream version 1.7.1
* Wed Jun 15 2016 Mikolaj Izdebski - 1.6-6
- Regenerate build-requires
* Thu Feb 04 2016 Fedora Release Engineering - 1.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering - 1.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Wed Apr 1 2015 Mikolaj Izdebski - 1.6-3
- Update upstream URL
* Thu Feb 5 2015 Mikolaj Izdebski - 1.6-2
- Add runtime dependenty on ASM5
* Mon Oct 27 2014 Mikolaj Izdebski - 1.6-1
- Update to upstream version 1.6
* Mon Oct 6 2014 Mikolaj Izdebski - 1.5.5-20
- Obsolete plexus-container-default
* Wed Sep 24 2014 Mikolaj Izdebski - 1.5.5-19
- Remove verioned build-requires on maven-javadoc-plugin
* Fri Jul 04 2014 Mat Booth - 1.5.5-18
- Port to lastest objectweb-asm
* Sat Jun 07 2014 Fedora Release Engineering - 1.5.5-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Fri May 30 2014 Michal Srb - 1.5.5-16
- Drop empty .mfiles
* Tue Mar 04 2014 Stanislav Ochotnicky - 1.5.5-15
- Use Requires: java-headless rebuild (#1067528)
* Thu Dec 5 2013 Mikolaj Izdebski - 1.5.5-14
- Update to Plexus Classworlds 2.5, resolves: rhbz#1015124
- Require xbean >= 3.14, resolves: rhbz#1038607
* Sun Aug 04 2013 Fedora Release Engineering - 1.5.5-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Jul 23 2013 Mikolaj Izdebski - 1.5.5-12
- Generate OSGi metadata
- Resolves: rhbz#987116
- Bump maven-javadoc-plugin version to 2.9.1
* Fri Mar 22 2013 Mikolaj Izdebski - 1.5.5-11
- Correctly place plexus-containers POM in the main package
* Thu Mar 21 2013 Stanislav Ochotnicky - 1.5.5-11
- Add compat symlinks to keep Maven working
* Wed Mar 20 2013 Stanislav Ochotnicky - 1.5.5-10
- Update to latest packaging guidelines
- Remove several unneeded buildrequires
* Thu Feb 14 2013 Fedora Release Engineering - 1.5.5-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Feb 06 2013 Java SIG - 1.5.5-8
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
- Replace maven BuildRequires with maven-local
* Wed Nov 14 2012 Stanislav Ochotnicky - 1.5.5-7
- Fix license tag (Plexus license was replaced by MIT some time ago)
- Update javadoc plugin BR version
* Sat Jul 21 2012 Fedora Release Engineering - 1.5.5-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Feb 17 2012 Deepak Bhole - 1.5.5-5
- Resolves rhbz#791339
- Applied fix from Omair Majid to build with Java 7
* Sat Jan 14 2012 Fedora Release Engineering - 1.5.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Jun 28 2011 Stanislav Ochotnicky - 1.5.5-3
- Fix maven3 build
- Use new add_maven_depmap macro
* Mon Feb 28 2011 Stanislav Ochotnicky - 1.5.5-2
- Remove unneeded env var definitions
* Fri Feb 25 2011 Stanislav Ochotnicky - 1.5.5-1
- Update to latest upstream
- Remove obsolete patches
- Use maven 3 to build
- Packaging fixes
- Versionless jars & javadocs
* Wed Feb 09 2011 Fedora Release Engineering - 1.5.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Mon Oct 11 2010 Stanislav Ochotnicky - 1.5.4-4
- Add plexus-cli to component-metadata Requires
* Wed Sep 8 2010 Stanislav Ochotnicky - 1.5.4-3
- Use javadoc:aggregate
- Merge javadoc subpackages into one -javadoc
* Thu Jul 15 2010 Stanislav Ochotnicky - 1.5.4-2
- Fix maven depmaps
* Tue Jul 13 2010 Stanislav Ochotnicky - 1.5.4-1
- Version bump
- Add new sub-packages
- Cleanups
* Thu Aug 20 2009 Andrew Overholt 0:1.0-0.1.a34.7
- Clean up javadoc post/postun
- Build with ant
- Remove gcj support
- Clean up groups
* Fri May 15 2009 Fernando Nasser 1.0-0.1.a34.6
- Fix license
* Tue Apr 28 2009 Yong Yang 1.0-0.1.a34.5
- Add BRs maven2-plugin-surfire*, maven-doxia*
- Merge from RHEL-4-EP-5 1.0-0.1.a34.2, add plexus-containers-sourcetarget.patch
- Rebuild with new maven2 2.0.8 built in non-bootstrap mode
* Mon Mar 16 2009 Yong Yang 1.0-0.1.a34.4
- rebuild with new maven2 2.0.8 built in bootstrap mode
* Wed Feb 04 2009 Yong Yang - 1.0-0.1.a34.3
- re-build with maven
* Wed Feb 04 2009 Yong Yang - 1.0-0.1.a34.2
- fix bulding with ant
- temporarily buid with ant
* Wed Jan 14 2009 Yong Yang - 1.0-0.1.a34.1jpp.2
- re-build with maven
- disabled assert in plexus-container-default/.../UriConverter.java???
* Tue Jan 13 2009 Yong Yang - 1.0-0.1.a34.1jpp.1
- Imported into devel from dbhole's maven 2.0.8 packages
* Tue Apr 08 2008 Deepak Bhole 1.0-0.1.a34.0jpp.1
- Initial build with original base spec from JPackage