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