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