99be90a
%global vertag v20150114
3feb71a
Stanislav Ochotnicky cba8ea6
Name:           aether
3feb71a
Epoch:          1
99be90a
Version:        1.0.2
e7b3568
Release:        3%{?dist}
9dea1b2
Summary:        Library to resolve, install and deploy artifacts the Maven way
9dea1b2
License:        EPL
9dea1b2
URL:            http://eclipse.org/aether
Stanislav Ochotnicky cba8ea6
BuildArch:      noarch
Stanislav Ochotnicky cba8ea6
3feb71a
Source0:        http://git.eclipse.org/c/%{name}/%{name}-core.git/snapshot/%{name}-%{version}.%{vertag}.tar.bz2
3feb71a
Stanislav Ochotnicky cc07968
BuildRequires:  maven-local
9cd0008
BuildRequires:  mvn(com.google.inject:guice::no_aop:)
283f79c
BuildRequires:  mvn(javax.inject:javax.inject)
9cd0008
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
283f79c
BuildRequires:  mvn(org.apache.httpcomponents:httpclient)
a315856
BuildRequires:  mvn(org.apache.maven.wagon:wagon-provider-api)
3feb71a
BuildRequires:  mvn(org.codehaus.mojo:build-helper-maven-plugin) >= 1.7
a315856
BuildRequires:  mvn(org.codehaus.plexus:plexus-classworlds)
a315856
BuildRequires:  mvn(org.codehaus.plexus:plexus-component-annotations)
9cd0008
BuildRequires:  mvn(org.codehaus.plexus:plexus-component-metadata)
a315856
BuildRequires:  mvn(org.codehaus.plexus:plexus-utils)
9dea1b2
BuildRequires:  mvn(org.eclipse.sisu:org.eclipse.sisu.plexus)
283f79c
BuildRequires:  mvn(org.eclipse.sisu:sisu-maven-plugin)
9cd0008
BuildRequires:  mvn(org.hamcrest:hamcrest-library)
283f79c
BuildRequires:  mvn(org.slf4j:jcl-over-slf4j)
a315856
BuildRequires:  mvn(org.slf4j:slf4j-api)
a315856
Stanislav Ochotnicky cba8ea6
%description
a315856
Aether is a standalone library to resolve, install and deploy artifacts
a315856
the Maven way.
a315856
a315856
%package api
a315856
Summary: Aether API
a315856
a315856
%description api
a315856
Aether is a standalone library to resolve, install and deploy
a315856
artifacts the Maven way.  This package provides application
a315856
programming interface for Aether repository system.
a315856
283f79c
%package connector-basic
283f79c
Summary: Aether Connector Basic
a315856
283f79c
%description connector-basic
a315856
Aether is a standalone library to resolve, install and deploy
283f79c
artifacts the Maven way.  This package provides repository connector
283f79c
implementation for repositories using URI-based layouts.
a315856
a315856
%package impl
a315856
Summary: Implementation of Aether repository system
a315856
a315856
%description impl
a315856
Aether is a standalone library to resolve, install and deploy
a315856
artifacts the Maven way.  This package provides implementation of
a315856
Aether repository system.
a315856
a315856
%package spi
a315856
Summary: Aether SPI
a315856
a315856
%description spi
a315856
Aether is a standalone library to resolve, install and deploy
a315856
artifacts the Maven way.  This package contains Aether service
a315856
provider interface (SPI) for repository system implementations and
a315856
repository connectors.
a315856
a315856
%package test-util
a315856
Summary: Aether test utilities
a315856
a315856
%description test-util
a315856
Aether is a standalone library to resolve, install and deploy
a315856
artifacts the Maven way.  This package provides collection of utility
a315856
classes that ease testing of Aether repository system.
a315856
283f79c
%package transport-classpath
283f79c
Summary: Aether Transport Classpath
283f79c
283f79c
%description transport-classpath
283f79c
Aether is a standalone library to resolve, install and deploy
283f79c
artifacts the Maven way.  This package provides a transport
283f79c
implementation for repositories using classpath:// URLs.
283f79c
283f79c
%package transport-file
283f79c
Summary: Aether Transport File
4c3fba1
Obsoletes: %{name}-connector-file < %{epoch}:%{version}-%{release}
283f79c
283f79c
%description transport-file
283f79c
Aether is a standalone library to resolve, install and deploy
283f79c
artifacts the Maven way.  This package provides a transport
283f79c
implementation for repositories using file:// URLs.
283f79c
283f79c
%package transport-http
283f79c
Summary: Aether Transport HTTP
283f79c
Obsoletes: %{name}-connector-asynchttpclient < %{epoch}:%{version}-%{release}
283f79c
283f79c
%description transport-http
283f79c
Aether is a standalone library to resolve, install and deploy
283f79c
artifacts the Maven way.  This package provides a transport
283f79c
implementation for repositories using http:// and https:// URLs.
283f79c
283f79c
%package transport-wagon
283f79c
Summary: Aether Transport Wagon
283f79c
Obsoletes: %{name}-connector-wagon < %{epoch}:%{version}-%{release}
283f79c
283f79c
%description transport-wagon
283f79c
Aether is a standalone library to resolve, install and deploy
283f79c
artifacts the Maven way.  This package provides a transport
283f79c
implementation based on Maven Wagon.
283f79c
a315856
%package util
a315856
Summary: Aether utilities
a315856
a315856
%description util
a315856
Aether is a standalone library to resolve, install and deploy
a315856
artifacts the Maven way.  This package provides a collection of
a315856
utility classes to ease usage of Aether repository system.
Stanislav Ochotnicky cba8ea6
Stanislav Ochotnicky cba8ea6
%package javadoc
a315856
Summary: Java API documentation for Aether
Stanislav Ochotnicky cba8ea6
Stanislav Ochotnicky cba8ea6
%description javadoc
a315856
Aether is a standalone library to resolve, install and deploy
a315856
artifacts the Maven way.  This package provides Java API documentation
a315856
for Aether.
Stanislav Ochotnicky cba8ea6
Stanislav Ochotnicky cba8ea6
%prep
3feb71a
%setup -q -n %{name}-%{version}.%{vertag}
Stanislav Ochotnicky cba8ea6
4a60b7b
# Remove clirr plugin
4a60b7b
%pom_remove_plugin :clirr-maven-plugin
4a60b7b
%pom_remove_plugin :clirr-maven-plugin aether-api
283f79c
%pom_remove_plugin :clirr-maven-plugin aether-util
4a60b7b
%pom_remove_plugin :clirr-maven-plugin aether-spi
Stanislav Ochotnicky cba8ea6
a315856
# Animal sniffer is not useful in Fedora
283f79c
for module in . aether-api aether-connector-basic aether-impl   \
283f79c
              aether-spi aether-test-util aether-transport-file \
283f79c
              aether-transport-classpath aether-transport-http  \
283f79c
              aether-transport-wagon aether-util; do
840bd28
    %pom_remove_plugin :animal-sniffer-maven-plugin $module
840bd28
done
d1acd50
283f79c
# HTTP transport tests require Jetty 7 and networking.
283f79c
rm -rf aether-transport-http/src/test
283f79c
%pom_xpath_remove "pom:dependency[pom:scope='test']" aether-transport-http
283f79c
3feb71a
%pom_remove_plugin :maven-enforcer-plugin
3feb71a
9cd0008
# Upstream uses Sisu 0.0.0.M4, but Fedora has 0.0.0.M5.  In M5 scope
9cd0008
# of Guice dependency was changed from "compile" to "provided".
9cd0008
%pom_add_dep com.google.inject:guice::provided . "<classifier>no_aop</classifier>"
Stanislav Ochotnicky cba8ea6
840bd28
%build
a315856
%mvn_build -s
Stanislav Ochotnicky cba8ea6
Stanislav Ochotnicky cba8ea6
%install
840bd28
%mvn_install
Stanislav Ochotnicky cba8ea6
a315856
%files -f .mfiles-%{name}
a315856
%doc README.md
3feb71a
%doc epl-v10.html notice.html
Stanislav Ochotnicky cba8ea6
a315856
%files api -f .mfiles-%{name}-api
Stanislav Ochotnicky cba8ea6
%doc README.md
3feb71a
%doc epl-v10.html notice.html
840bd28
%dir %{_javadir}/%{name}
Stanislav Ochotnicky cba8ea6
283f79c
%files connector-basic -f .mfiles-%{name}-connector-basic
a315856
%files impl -f .mfiles-%{name}-impl
a315856
%files spi -f .mfiles-%{name}-spi
a315856
%files test-util -f .mfiles-%{name}-test-util
283f79c
%files transport-classpath -f .mfiles-%{name}-transport-classpath
283f79c
%files transport-file -f .mfiles-%{name}-transport-file
283f79c
%files transport-http -f .mfiles-%{name}-transport-http
283f79c
%files transport-wagon -f .mfiles-%{name}-transport-wagon
a315856
%files util -f .mfiles-%{name}-util
840bd28
%files javadoc -f .mfiles-javadoc
3feb71a
%doc epl-v10.html notice.html
Stanislav Ochotnicky cba8ea6
Stanislav Ochotnicky cba8ea6
%changelog
e7b3568
* Thu Jul 23 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.0.2-3
e7b3568
- Remove Plexus support
e7b3568
85eeae6
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.2-2
85eeae6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
85eeae6
99be90a
* Wed Feb  4 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.0.2-1
99be90a
- Update to upstream version 1.0.2
99be90a
4902fcc
* Wed Feb  4 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.0.1-1
4902fcc
- Update to upstream version 1.0.1
4902fcc
c2af247
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.0-3
c2af247
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c2af247
39787e6
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.0.0-2
39787e6
- Bring back Plexus support
39787e6
e54dd57
* Tue May 20 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.0.0-1
e54dd57
- Update to upstream version 1.0.0
e54dd57
6a75302
* Tue Apr  1 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.9.1-1
6a75302
- Update to upstream version 0.9.1
6a75302
6be6f93
* Thu Feb 27 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.9.0-1
6be6f93
- Update to upstream version 0.9.0
6be6f93
9cd0008
* Mon Jan  6 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.9.0-0.5.M4
9cd0008
- Update to upstream version 0.9.0.M4
9cd0008
- Remove workaround for rhbz#911365
9cd0008
4c3fba1
* Wed Aug 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.9.0-0.4.M3
4c3fba1
- Add missing Obsoletes: aether-connector-file
4c3fba1
- Resolves: rhbz#996764
4c3fba1
283f79c
* Mon Aug 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.9.0-0.3.M3
283f79c
- Update to upstream version 0.9.0.M3
283f79c
9dea1b2
* Thu Jul 25 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.9.0-0.2.M2
9dea1b2
- Remove remains of Sonatype Aether
9dea1b2
- Port from Sonatype Sisu to Eclipse Sisu, resolves: rhbz#985691
9dea1b2
3feb71a
* Fri Jul 19 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.9.0-0.M2.1
3feb71a
- Switch upstream from Sonatype to Eclipse
3feb71a
- Update to upstream version 0.9.0.M2
3feb71a
- Install Sonatype Aether in pararell to Eclipse Aether
3feb71a
cd85b00
* Fri Jul 19 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-12
cd85b00
- Add symlinks to Sonatype Aether
cd85b00
6ed73aa
* Wed Jun 26 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-11
6ed73aa
- Install license files
6ed73aa
- Resolves: rhbz#958116
6ed73aa
09e3cc8
* Fri May 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-10
09e3cc8
- Conditionally build without AHC connector
09e3cc8
ecb121a
* Thu May  2 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-9
ecb121a
- Install compat JAR symlinks
ecb121a
- Resolves: rhbz#958558
ecb121a
a315856
* Tue Apr 30 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-8
a315856
- Complete spec file rewrite
a315856
- Build with xmvn
a315856
- Split into multiple subpackages, resolves: rhbz#916142
a315856
- Update to current packaging guidelines
a315856
840bd28
* Thu Feb  7 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-7
840bd28
- Build with xmvn
840bd28
- Disable animal sniffer
840bd28
- Remove R on jboss-parent, resolves: rhbz#908583
840bd28
Stanislav Ochotnicky cc07968
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.13.1-6
Stanislav Ochotnicky cc07968
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky cc07968
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky cc07968
d1acd50
* Mon Aug 27 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-5
d1acd50
- Disable animal-sniffer on RHEL
d1acd50
73996dd
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13.1-4
73996dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
73996dd
4a60b7b
* Thu Jun 28 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-3
4a60b7b
- Replace pom.xml patches with pom macros
4a60b7b
cbe7078
* Thu Apr 19 2012 Alexander Kurtakov <akurtako@redhat.com> 1.13.1-2
cbe7078
- Install aether-connector-asynchttpclient - it was build but not installed.
cbe7078
Stanislav Ochotnicky 0ce9c32
* Tue Jan 31 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.13.1-1
Stanislav Ochotnicky 0ce9c32
- Update to latest upstream
Stanislav Ochotnicky 0ce9c32
- Update spec to latest guidelines
Stanislav Ochotnicky 0ce9c32
a2fb020
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-4
a2fb020
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a2fb020
59fcbac
* Wed Jun 8 2011 Alexander Kurtakov <akurtako@redhat.com> 1.11-3
59fcbac
- Build with maven 3.x.
59fcbac
- Do not require maven - not found in dependencies in poms.
59fcbac
- Guidelines fixes.
59fcbac
Stanislav Ochotnicky ea5d8c8
* Mon Feb 28 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.11-2
Stanislav Ochotnicky ea5d8c8
- Rebuild after bugfix update to plexus-containers (#675865)
Stanislav Ochotnicky ea5d8c8
Stanislav Ochotnicky 2763116
* Fri Feb 25 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.11-1
Stanislav Ochotnicky 2763116
- Update to latest version
Stanislav Ochotnicky 2763116
- Add ASL 2.0 back as optional license
Stanislav Ochotnicky 2763116
34e329b
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-2
34e329b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
34e329b
Stanislav Ochotnicky 0e0eafb
* Wed Jan 19 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.9-1
Stanislav Ochotnicky 0e0eafb
- License changed to EPL
Stanislav Ochotnicky 0e0eafb
- Add async-http-client to BR/R
Stanislav Ochotnicky 0e0eafb
- Update to latest version
Stanislav Ochotnicky 0e0eafb
Stanislav Ochotnicky d763856
* Wed Dec  8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.7-3
Stanislav Ochotnicky d763856
- Make jars/javadocs versionless
Stanislav Ochotnicky d763856
- Remove buildroot and clean section
Stanislav Ochotnicky d763856
Stanislav Ochotnicky cba8ea6
* Wed Oct 13 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.7-2
Stanislav Ochotnicky cba8ea6
- Explained how to get tarball properly
Stanislav Ochotnicky cba8ea6
- Removed noreplace on depmap fragment
Stanislav Ochotnicky cba8ea6
Stanislav Ochotnicky cba8ea6
* Mon Oct 11 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.7-1
Stanislav Ochotnicky cba8ea6
- Initial Package