|
|
|
@ -1,8 +1,6 @@
|
|
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
Name: plexus-containers
|
|
|
|
|
Version: 2.1.0
|
|
|
|
|
Release: 11%{?dist}
|
|
|
|
|
Version: 1.7.1
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Summary: Containers for Plexus
|
|
|
|
|
# Most of the files are either under ASL 2.0 or MIT
|
|
|
|
|
# The following files are under xpp:
|
|
|
|
@ -16,26 +14,32 @@ Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{ver
|
|
|
|
|
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)
|
|
|
|
|
Patch0: 0001-Port-to-current-qdox.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
BuildRequires: mvn(com.google.guava:guava:20.0)
|
|
|
|
|
BuildRequires: mvn(commons-cli:commons-cli)
|
|
|
|
|
BuildRequires: mvn(com.sun:tools)
|
|
|
|
|
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:maven-project)
|
|
|
|
|
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-cli)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-component-annotations)
|
|
|
|
|
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
|
|
|
|
|
BuildRequires: mvn(org.ow2.asm:asm-all)
|
|
|
|
|
BuildRequires: mvn(org.ow2.asm:asm-commons)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The Plexus project seeks to create end-to-end developer tools for
|
|
|
|
@ -51,10 +55,16 @@ Summary: Component metadata from %{name}
|
|
|
|
|
%description component-metadata
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%package component-javadoc
|
|
|
|
|
Summary: Javadoc component from %{name}
|
|
|
|
|
|
|
|
|
|
%description component-javadoc
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%package component-annotations
|
|
|
|
|
Summary: Component API from %{name}
|
|
|
|
|
|
|
|
|
|
%description -n %{?module_prefix}%{name}-component-annotations
|
|
|
|
|
%description component-annotations
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%package container-default
|
|
|
|
@ -63,17 +73,33 @@ Summary: Default Container from %{name}
|
|
|
|
|
%description container-default
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%{?javadoc_package}
|
|
|
|
|
%package javadoc
|
|
|
|
|
Summary: API documentation for all plexus-containers packages
|
|
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}-%{name}-%{version}
|
|
|
|
|
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
|
|
cp %{SOURCE1} .
|
|
|
|
|
cp %{SOURCE2} .
|
|
|
|
|
|
|
|
|
|
%pom_remove_plugin -r :maven-site-plugin
|
|
|
|
|
|
|
|
|
|
%pom_change_dep -r :google-collections com.google.guava:guava
|
|
|
|
|
# For Maven 3 compat
|
|
|
|
|
%pom_add_dep org.apache.maven:maven-core plexus-component-metadata
|
|
|
|
|
|
|
|
|
|
%pom_change_dep -r :google-collections com.google.guava:guava:20.0
|
|
|
|
|
|
|
|
|
|
# ASM dependency was changed to "provided" in XBean 4.x, so we need to provide ASM
|
|
|
|
|
%pom_add_dep org.ow2.asm:asm:5.0.3:runtime plexus-container-default
|
|
|
|
|
%pom_add_dep org.ow2.asm:asm-commons:5.0.3:runtime plexus-container-default
|
|
|
|
|
|
|
|
|
|
%pom_remove_dep com.sun:tools plexus-component-javadoc
|
|
|
|
|
%pom_add_dep com.sun:tools plexus-component-javadoc
|
|
|
|
|
|
|
|
|
|
# Generate OSGI info
|
|
|
|
|
%pom_xpath_inject "pom:project" "
|
|
|
|
@ -94,94 +120,43 @@ cp %{SOURCE2} .
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>" plexus-component-annotations
|
|
|
|
|
|
|
|
|
|
# to prevent ant from failing
|
|
|
|
|
mkdir -p plexus-component-annotations/src/test/java
|
|
|
|
|
|
|
|
|
|
# integration tests fix
|
|
|
|
|
sed -i "s|<version>2.3</version>|<version> %{javadoc_plugin_version}</version>|" plexus-component-javadoc/src/it/basic/pom.xml
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
%mvn_build -f -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
|
|
|
|
|
%files component-javadoc -f .mfiles-plexus-component-javadoc
|
|
|
|
|
%license LICENSE-2.0.txt LICENSE.MIT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Nov 20 2024 Marián Konček <mkoncek@redhat.com> - 2.1.0-11
|
|
|
|
|
- Rebuild with regenerated Requires on Java
|
|
|
|
|
|
|
|
|
|
* Mon Jan 30 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.0-10
|
|
|
|
|
- Rebuild to regenerate auto-requires
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.1.0-9
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.0-8
|
|
|
|
|
- Rebuild to workaround DistroBaker issue
|
|
|
|
|
|
|
|
|
|
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.0-7
|
|
|
|
|
- Bootstrap Maven for CentOS Stream 9
|
|
|
|
|
|
|
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.0-6
|
|
|
|
|
- Bootstrap build
|
|
|
|
|
- Non-bootstrap build
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 2.1.0-3
|
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.0-2
|
|
|
|
|
- Build with OpenJDK 8
|
|
|
|
|
|
|
|
|
|
* Wed Nov 20 2019 Marian Koncek <mkoncek@redhat.com> - 2.1.0-1
|
|
|
|
|
- Update to upstream version 2.1.0
|
|
|
|
|
|
|
|
|
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.0.0-2
|
|
|
|
|
- Mass rebuild for javapackages-tools 201902
|
|
|
|
|
|
|
|
|
|
* Thu Oct 24 2019 Fabio Valentini <decathorpe@gmail.com> - 2.1.0-1
|
|
|
|
|
- Update to version 2.1.0.
|
|
|
|
|
|
|
|
|
|
* Tue Aug 20 2019 Fabio Valentini <decathorpe@gmail.com> - 2.0.0-1
|
|
|
|
|
- Update to version 2.0.0.
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu May 30 2019 Marian Koncek <mkoncek@redhat.com> - 2.0.0-1
|
|
|
|
|
- Update to upstream version 2.0.0
|
|
|
|
|
|
|
|
|
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7.1-9
|
|
|
|
|
- Mass rebuild for javapackages-tools 201901
|
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
|
%license LICENSE-2.0.txt LICENSE.MIT
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Dec 12 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.7.1-8
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Tue Jul 31 2018 Michael Simacek <msimacek@redhat.com> - 1.7.1-8
|
|
|
|
|
- Fix license tag
|
|
|
|
|