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