|
Mikolaj Izdebski |
09e3cc |
# Conditionals to build Aether with or without AHC connector
|
|
Mikolaj Izdebski |
09e3cc |
# (connector for Async Http Client).
|
|
Mikolaj Izdebski |
09e3cc |
%if 0%{?fedora}
|
|
Mikolaj Izdebski |
09e3cc |
%bcond_without ahc
|
|
Mikolaj Izdebski |
09e3cc |
%endif
|
|
Mikolaj Izdebski |
09e3cc |
|
|
Mikolaj Izdebski |
d9c87e |
%global vertag M2
|
|
Mikolaj Izdebski |
d9c87e |
|
|
Stanislav Ochotnicky |
cba8ea |
Name: aether
|
|
Mikolaj Izdebski |
d9c87e |
Epoch: 1
|
|
Mikolaj Izdebski |
d9c87e |
Version: 0.9.0
|
|
Mikolaj Izdebski |
d9c87e |
Release: 0.%{vertag}.0%{?dist}
|
|
Stanislav Ochotnicky |
cba8ea |
Summary: Sonatype library to resolve, install and deploy artifacts the Maven way
|
|
Stanislav Ochotnicky |
276311 |
License: EPL or ASL 2.0
|
|
Stanislav Ochotnicky |
cba8ea |
URL: https://docs.sonatype.org/display/AETHER/Home
|
|
Stanislav Ochotnicky |
cba8ea |
BuildArch: noarch
|
|
Stanislav Ochotnicky |
cba8ea |
|
|
Mikolaj Izdebski |
d9c87e |
Source0: http://git.eclipse.org/c/%{name}/%{name}-core.git/snapshot/%{name}-%{version}.%{vertag}.tar.bz2
|
|
Mikolaj Izdebski |
d9c87e |
|
|
Stanislav Ochotnicky |
cc0796 |
BuildRequires: maven-local
|
|
Mikolaj Izdebski |
a31585 |
BuildRequires: mvn(org.apache.maven.wagon:wagon-provider-api)
|
|
Mikolaj Izdebski |
a31585 |
BuildRequires: mvn(org.codehaus.plexus:plexus-classworlds)
|
|
Mikolaj Izdebski |
a31585 |
BuildRequires: mvn(org.codehaus.plexus:plexus-component-annotations)
|
|
Mikolaj Izdebski |
a31585 |
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
|
Mikolaj Izdebski |
a31585 |
BuildRequires: mvn(org.slf4j:slf4j-api)
|
|
Mikolaj Izdebski |
a31585 |
BuildRequires: mvn(org.sonatype.forge:forge-parent)
|
|
Mikolaj Izdebski |
a31585 |
BuildRequires: mvn(org.sonatype.sisu:sisu-inject-plexus)
|
|
Mikolaj Izdebski |
09e3cc |
%if %{with ahc}
|
|
Mikolaj Izdebski |
09e3cc |
BuildRequires: mvn(com.ning:async-http-client)
|
|
Mikolaj Izdebski |
09e3cc |
%endif
|
|
Mikolaj Izdebski |
a31585 |
|
|
Stanislav Ochotnicky |
cba8ea |
%description
|
|
Mikolaj Izdebski |
a31585 |
Aether is a standalone library to resolve, install and deploy artifacts
|
|
Mikolaj Izdebski |
a31585 |
the Maven way.
|
|
Mikolaj Izdebski |
a31585 |
|
|
Mikolaj Izdebski |
a31585 |
%package api
|
|
Mikolaj Izdebski |
a31585 |
Summary: Aether API
|
|
Mikolaj Izdebski |
a31585 |
|
|
Mikolaj Izdebski |
a31585 |
%description api
|
|
Mikolaj Izdebski |
a31585 |
Aether is a standalone library to resolve, install and deploy
|
|
Mikolaj Izdebski |
a31585 |
artifacts the Maven way. This package provides application
|
|
Mikolaj Izdebski |
a31585 |
programming interface for Aether repository system.
|
|
Mikolaj Izdebski |
a31585 |
|
|
Mikolaj Izdebski |
09e3cc |
%if %{with ahc}
|
|
Mikolaj Izdebski |
a31585 |
%package connector-asynchttpclient
|
|
Mikolaj Izdebski |
a31585 |
Summary: Aether connector for Async Http Client
|
|
Mikolaj Izdebski |
a31585 |
|
|
Mikolaj Izdebski |
a31585 |
%description connector-asynchttpclient
|
|
Mikolaj Izdebski |
a31585 |
Aether is a standalone library to resolve, install and deploy
|
|
Mikolaj Izdebski |
a31585 |
artifacts the Maven way. This package provides Aether repository
|
|
Mikolaj Izdebski |
a31585 |
connector implementation based on Async Http Client.
|
|
Mikolaj Izdebski |
09e3cc |
%endif
|
|
Mikolaj Izdebski |
a31585 |
|
|
Mikolaj Izdebski |
a31585 |
%package connector-file
|
|
Mikolaj Izdebski |
a31585 |
Summary: Aether connector for file URLs
|
|
Mikolaj Izdebski |
a31585 |
|
|
Mikolaj Izdebski |
a31585 |
%description connector-file
|
|
Mikolaj Izdebski |
a31585 |
Aether is a standalone library to resolve, install and deploy
|
|
Mikolaj Izdebski |
a31585 |
artifacts the Maven way. This package provides Aether repository
|
|
Mikolaj Izdebski |
a31585 |
connector implementation for repositories using file:// URLs.
|
|
Mikolaj Izdebski |
a31585 |
|
|
Mikolaj Izdebski |
a31585 |
%package connector-wagon
|
|
Mikolaj Izdebski |
a31585 |
Summary: Aether connector for Maven Wagon
|
|
Mikolaj Izdebski |
a31585 |
|
|
Mikolaj Izdebski |
a31585 |
%description connector-wagon
|
|
Mikolaj Izdebski |
a31585 |
Aether is a standalone library to resolve, install and deploy
|
|
Mikolaj Izdebski |
a31585 |
artifacts the Maven way. This package provides Aether repository
|
|
Mikolaj Izdebski |
a31585 |
connector implementation based on Maven Wagon.
|
|
Mikolaj Izdebski |
a31585 |
|
|
Mikolaj Izdebski |
a31585 |
%package impl
|
|
Mikolaj Izdebski |
a31585 |
Summary: Implementation of Aether repository system
|
|
Mikolaj Izdebski |
a31585 |
|
|
Mikolaj Izdebski |
a31585 |
%description impl
|
|
Mikolaj Izdebski |
a31585 |
Aether is a standalone library to resolve, install and deploy
|
|
Mikolaj Izdebski |
a31585 |
artifacts the Maven way. This package provides implementation of
|
|
Mikolaj Izdebski |
a31585 |
Aether repository system.
|
|
Mikolaj Izdebski |
a31585 |
|
|
Mikolaj Izdebski |
a31585 |
%package spi
|
|
Mikolaj Izdebski |
a31585 |
Summary: Aether SPI
|
|
Mikolaj Izdebski |
a31585 |
|
|
Mikolaj Izdebski |
a31585 |
%description spi
|
|
Mikolaj Izdebski |
a31585 |
Aether is a standalone library to resolve, install and deploy
|
|
Mikolaj Izdebski |
a31585 |
artifacts the Maven way. This package contains Aether service
|
|
Mikolaj Izdebski |
a31585 |
provider interface (SPI) for repository system implementations and
|
|
Mikolaj Izdebski |
a31585 |
repository connectors.
|
|
Mikolaj Izdebski |
a31585 |
|
|
Mikolaj Izdebski |
a31585 |
%package test-util
|
|
Mikolaj Izdebski |
a31585 |
Summary: Aether test utilities
|
|
Mikolaj Izdebski |
a31585 |
|
|
Mikolaj Izdebski |
a31585 |
%description test-util
|
|
Mikolaj Izdebski |
a31585 |
Aether is a standalone library to resolve, install and deploy
|
|
Mikolaj Izdebski |
a31585 |
artifacts the Maven way. This package provides collection of utility
|
|
Mikolaj Izdebski |
a31585 |
classes that ease testing of Aether repository system.
|
|
Mikolaj Izdebski |
a31585 |
|
|
Mikolaj Izdebski |
a31585 |
%package util
|
|
Mikolaj Izdebski |
a31585 |
Summary: Aether utilities
|
|
Mikolaj Izdebski |
a31585 |
|
|
Mikolaj Izdebski |
a31585 |
%description util
|
|
Mikolaj Izdebski |
a31585 |
Aether is a standalone library to resolve, install and deploy
|
|
Mikolaj Izdebski |
a31585 |
artifacts the Maven way. This package provides a collection of
|
|
Mikolaj Izdebski |
a31585 |
utility classes to ease usage of Aether repository system.
|
|
Stanislav Ochotnicky |
cba8ea |
|
|
Stanislav Ochotnicky |
cba8ea |
%package javadoc
|
|
Mikolaj Izdebski |
a31585 |
Summary: Java API documentation for Aether
|
|
Stanislav Ochotnicky |
cba8ea |
|
|
Stanislav Ochotnicky |
cba8ea |
%description javadoc
|
|
Mikolaj Izdebski |
a31585 |
Aether is a standalone library to resolve, install and deploy
|
|
Mikolaj Izdebski |
a31585 |
artifacts the Maven way. This package provides Java API documentation
|
|
Mikolaj Izdebski |
a31585 |
for Aether.
|
|
Stanislav Ochotnicky |
cba8ea |
|
|
Stanislav Ochotnicky |
cba8ea |
%prep
|
|
Mikolaj Izdebski |
d9c87e |
%setup -q -n %{name}-%{version}.%{vertag}
|
|
Stanislav Ochotnicky |
cba8ea |
|
|
Mikolaj Izdebski |
09e3cc |
%if %{without ahc}
|
|
Mikolaj Izdebski |
09e3cc |
%pom_disable_module aether-connector-asynchttpclient
|
|
Mikolaj Izdebski |
09e3cc |
%endif
|
|
Mikolaj Izdebski |
09e3cc |
|
|
Stanislav Ochotnicky |
0e0eaf |
# we'd need org.sonatype.http-testing-harness so let's remove async
|
|
Stanislav Ochotnicky |
276311 |
# and wagon http tests (leave others enabled)
|
|
Mikolaj Izdebski |
4a60b7 |
for module in asynchttpclient wagon; do (
|
|
Mikolaj Izdebski |
4a60b7 |
cd ./aether-connector-$module
|
|
Mikolaj Izdebski |
4a60b7 |
rm -rf src/test
|
|
Mikolaj Izdebski |
4a60b7 |
# Removes all dependencies with test scope
|
|
Mikolaj Izdebski |
4a60b7 |
%pom_xpath_remove "pom:dependency[pom:scope[text()='test']]"
|
|
Mikolaj Izdebski |
4a60b7 |
) done
|
|
Mikolaj Izdebski |
4a60b7 |
|
|
Mikolaj Izdebski |
4a60b7 |
# Remove clirr plugin
|
|
Mikolaj Izdebski |
4a60b7 |
%pom_remove_plugin :clirr-maven-plugin
|
|
Mikolaj Izdebski |
4a60b7 |
%pom_remove_plugin :clirr-maven-plugin aether-api
|
|
Mikolaj Izdebski |
4a60b7 |
%pom_remove_plugin :clirr-maven-plugin aether-spi
|
|
Stanislav Ochotnicky |
cba8ea |
|
|
Mikolaj Izdebski |
a31585 |
# Animal sniffer is not useful in Fedora
|
|
Mikolaj Izdebski |
840bd2 |
for module in . aether-connector-wagon aether-util aether-api \
|
|
Mikolaj Izdebski |
840bd2 |
aether-impl aether-connector-asynchttpclient \
|
|
Mikolaj Izdebski |
d9c87e |
aether-connector-file aether-test-util; do
|
|
Mikolaj Izdebski |
840bd2 |
%pom_remove_plugin :animal-sniffer-maven-plugin $module
|
|
Mikolaj Izdebski |
840bd2 |
done
|
|
Mikolaj Izdebski |
d1acd5 |
|
|
Mikolaj Izdebski |
d9c87e |
%pom_remove_plugin :maven-enforcer-plugin
|
|
Mikolaj Izdebski |
d9c87e |
|
|
Mikolaj Izdebski |
a31585 |
# Workaround for rhbz#911365
|
|
Mikolaj Izdebski |
840bd2 |
%pom_xpath_inject pom:project "<dependencies/>"
|
|
Mikolaj Izdebski |
a31585 |
%pom_add_dep cglib:cglib:any:test
|
|
Mikolaj Izdebski |
d9c87e |
%pom_add_dep aopalliance:aopalliance:any:test
|
|
Mikolaj Izdebski |
ecb121 |
|
|
Mikolaj Izdebski |
840bd2 |
%build
|
|
Mikolaj Izdebski |
a31585 |
%mvn_build -s
|
|
Stanislav Ochotnicky |
cba8ea |
|
|
Stanislav Ochotnicky |
cba8ea |
%install
|
|
Mikolaj Izdebski |
840bd2 |
%mvn_install
|
|
Stanislav Ochotnicky |
cba8ea |
|
|
Mikolaj Izdebski |
a31585 |
%files -f .mfiles-%{name}
|
|
Mikolaj Izdebski |
a31585 |
%doc README.md
|
|
Mikolaj Izdebski |
d9c87e |
%doc epl-v10.html notice.html
|
|
Stanislav Ochotnicky |
cba8ea |
|
|
Mikolaj Izdebski |
a31585 |
%files api -f .mfiles-%{name}-api
|
|
Stanislav Ochotnicky |
cba8ea |
%doc README.md
|
|
Mikolaj Izdebski |
d9c87e |
%doc epl-v10.html notice.html
|
|
Mikolaj Izdebski |
840bd2 |
%dir %{_javadir}/%{name}
|
|
Stanislav Ochotnicky |
cba8ea |
|
|
Mikolaj Izdebski |
a31585 |
%files connector-file -f .mfiles-%{name}-connector-file
|
|
Mikolaj Izdebski |
a31585 |
%files connector-wagon -f .mfiles-%{name}-connector-wagon
|
|
Mikolaj Izdebski |
a31585 |
%files impl -f .mfiles-%{name}-impl
|
|
Mikolaj Izdebski |
a31585 |
%files spi -f .mfiles-%{name}-spi
|
|
Mikolaj Izdebski |
a31585 |
%files test-util -f .mfiles-%{name}-test-util
|
|
Mikolaj Izdebski |
a31585 |
%files util -f .mfiles-%{name}-util
|
|
Mikolaj Izdebski |
840bd2 |
%files javadoc -f .mfiles-javadoc
|
|
Mikolaj Izdebski |
d9c87e |
%doc epl-v10.html notice.html
|
|
Stanislav Ochotnicky |
cba8ea |
|
|
Mikolaj Izdebski |
09e3cc |
%if %{with ahc}
|
|
Mikolaj Izdebski |
09e3cc |
%files connector-asynchttpclient -f .mfiles-%{name}-connector-asynchttpclient
|
|
Mikolaj Izdebski |
09e3cc |
%endif
|
|
Mikolaj Izdebski |
09e3cc |
|
|
Stanislav Ochotnicky |
cba8ea |
%changelog
|
|
Mikolaj Izdebski |
6ed73a |
* Wed Jun 26 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-11
|
|
Mikolaj Izdebski |
6ed73a |
- Install license files
|
|
Mikolaj Izdebski |
6ed73a |
- Resolves: rhbz#958116
|
|
Mikolaj Izdebski |
6ed73a |
|
|
Mikolaj Izdebski |
09e3cc |
* Fri May 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-10
|
|
Mikolaj Izdebski |
09e3cc |
- Conditionally build without AHC connector
|
|
Mikolaj Izdebski |
09e3cc |
|
|
Mikolaj Izdebski |
ecb121 |
* Thu May 2 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-9
|
|
Mikolaj Izdebski |
ecb121 |
- Install compat JAR symlinks
|
|
Mikolaj Izdebski |
ecb121 |
- Resolves: rhbz#958558
|
|
Mikolaj Izdebski |
ecb121 |
|
|
Mikolaj Izdebski |
a31585 |
* Tue Apr 30 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-8
|
|
Mikolaj Izdebski |
a31585 |
- Complete spec file rewrite
|
|
Mikolaj Izdebski |
a31585 |
- Build with xmvn
|
|
Mikolaj Izdebski |
a31585 |
- Split into multiple subpackages, resolves: rhbz#916142
|
|
Mikolaj Izdebski |
a31585 |
- Update to current packaging guidelines
|
|
Mikolaj Izdebski |
a31585 |
|
|
Mikolaj Izdebski |
840bd2 |
* Thu Feb 7 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-7
|
|
Mikolaj Izdebski |
840bd2 |
- Build with xmvn
|
|
Mikolaj Izdebski |
840bd2 |
- Disable animal sniffer
|
|
Mikolaj Izdebski |
840bd2 |
- Remove R on jboss-parent, resolves: rhbz#908583
|
|
Mikolaj Izdebski |
840bd2 |
|
|
Stanislav Ochotnicky |
cc0796 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.13.1-6
|
|
Stanislav Ochotnicky |
cc0796 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
Stanislav Ochotnicky |
cc0796 |
- Replace maven BuildRequires with maven-local
|
|
Stanislav Ochotnicky |
cc0796 |
|
|
Mikolaj Izdebski |
d1acd5 |
* Mon Aug 27 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-5
|
|
Mikolaj Izdebski |
d1acd5 |
- Disable animal-sniffer on RHEL
|
|
Mikolaj Izdebski |
d1acd5 |
|
|
Dennis Gilmore |
73996d |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13.1-4
|
|
Dennis Gilmore |
73996d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
Dennis Gilmore |
73996d |
|
|
Mikolaj Izdebski |
4a60b7 |
* Thu Jun 28 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-3
|
|
Mikolaj Izdebski |
4a60b7 |
- Replace pom.xml patches with pom macros
|
|
Mikolaj Izdebski |
4a60b7 |
|
|
Alexander Kurtakov |
cbe707 |
* Thu Apr 19 2012 Alexander Kurtakov <akurtako@redhat.com> 1.13.1-2
|
|
Alexander Kurtakov |
cbe707 |
- Install aether-connector-asynchttpclient - it was build but not installed.
|
|
Alexander Kurtakov |
cbe707 |
|
|
Stanislav Ochotnicky |
0ce9c3 |
* Tue Jan 31 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.13.1-1
|
|
Stanislav Ochotnicky |
0ce9c3 |
- Update to latest upstream
|
|
Stanislav Ochotnicky |
0ce9c3 |
- Update spec to latest guidelines
|
|
Stanislav Ochotnicky |
0ce9c3 |
|
|
Dennis Gilmore |
a2fb02 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-4
|
|
Dennis Gilmore |
a2fb02 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
Dennis Gilmore |
a2fb02 |
|
|
Alexander Kurtakov |
59fcba |
* Wed Jun 8 2011 Alexander Kurtakov <akurtako@redhat.com> 1.11-3
|
|
Alexander Kurtakov |
59fcba |
- Build with maven 3.x.
|
|
Alexander Kurtakov |
59fcba |
- Do not require maven - not found in dependencies in poms.
|
|
Alexander Kurtakov |
59fcba |
- Guidelines fixes.
|
|
Alexander Kurtakov |
59fcba |
|
|
Stanislav Ochotnicky |
ea5d8c |
* Mon Feb 28 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.11-2
|
|
Stanislav Ochotnicky |
ea5d8c |
- Rebuild after bugfix update to plexus-containers (#675865)
|
|
Stanislav Ochotnicky |
ea5d8c |
|
|
Stanislav Ochotnicky |
276311 |
* Fri Feb 25 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.11-1
|
|
Stanislav Ochotnicky |
276311 |
- Update to latest version
|
|
Stanislav Ochotnicky |
276311 |
- Add ASL 2.0 back as optional license
|
|
Stanislav Ochotnicky |
276311 |
|
|
Dennis Gilmore |
34e329 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-2
|
|
Dennis Gilmore |
34e329 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
Dennis Gilmore |
34e329 |
|
|
Stanislav Ochotnicky |
0e0eaf |
* Wed Jan 19 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.9-1
|
|
Stanislav Ochotnicky |
0e0eaf |
- License changed to EPL
|
|
Stanislav Ochotnicky |
0e0eaf |
- Add async-http-client to BR/R
|
|
Stanislav Ochotnicky |
0e0eaf |
- Update to latest version
|
|
Stanislav Ochotnicky |
0e0eaf |
|
|
Stanislav Ochotnicky |
d76385 |
* Wed Dec 8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.7-3
|
|
Stanislav Ochotnicky |
d76385 |
- Make jars/javadocs versionless
|
|
Stanislav Ochotnicky |
d76385 |
- Remove buildroot and clean section
|
|
Stanislav Ochotnicky |
d76385 |
|
|
Stanislav Ochotnicky |
cba8ea |
* Wed Oct 13 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.7-2
|
|
Stanislav Ochotnicky |
cba8ea |
- Explained how to get tarball properly
|
|
Stanislav Ochotnicky |
cba8ea |
- Removed noreplace on depmap fragment
|
|
Stanislav Ochotnicky |
cba8ea |
|
|
Stanislav Ochotnicky |
cba8ea |
* Mon Oct 11 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.7-1
|
|
Stanislav Ochotnicky |
cba8ea |
- Initial Package
|