fc4f8e1
%global vertag v20140518
1398031
033a673
Name:           aether-ant-tasks
Mat Booth 213b9d0
Epoch:          1
fc4f8e1
Version:        1.0.0
1ca15b6
Release:        2%{?dist}
033a673
Summary:        Ant tasks using Aether to resolve, install and deploy artifacts
033a673
Group:          Development/Libraries
033a673
BuildArch:      noarch
033a673
033a673
License:        EPL
Mat Booth 213b9d0
URL:            http://www.eclipse.org/aether
1398031
Source0:        http://git.eclipse.org/c/aether/aether-ant.git/snapshot/%{name}-%{version}.%{vertag}.tar.bz2
64c225b
Source5:        ant-classpath
64c225b
64c225b
Patch0001:      0001-Add-support-for-XMvn-workspace-reader.patch
033a673
Stanislav Ochotnicky a0611cd
BuildRequires:  maven-local
1398031
BuildRequires:  mvn(junit:junit)
1398031
BuildRequires:  mvn(org.apache.ant:ant)
1398031
BuildRequires:  mvn(org.apache.ant:ant-launcher)
1398031
BuildRequires:  mvn(org.apache.ant:ant-testutil)
1398031
BuildRequires:  mvn(org.apache.maven:maven-aether-provider) >= 3.1.0
ad54dbb
BuildRequires:  mvn(org.apache.maven:maven-settings-builder)
ad54dbb
BuildRequires:  mvn(org.codehaus.plexus:plexus-component-annotations)
ad54dbb
BuildRequires:  mvn(org.codehaus.plexus:plexus-interpolation)
Mat Booth 213b9d0
BuildRequires:  mvn(org.eclipse.aether:aether-api)
1398031
BuildRequires:  mvn(org.eclipse.aether:aether-connector-basic)
Mat Booth 213b9d0
BuildRequires:  mvn(org.eclipse.aether:aether-impl)
Mat Booth 213b9d0
BuildRequires:  mvn(org.eclipse.aether:aether-test-util)
1398031
BuildRequires:  mvn(org.eclipse.aether:aether-transport-classpath)
1398031
BuildRequires:  mvn(org.eclipse.aether:aether-transport-file)
1398031
BuildRequires:  mvn(org.eclipse.aether:aether-transport-http)
1398031
BuildRequires:  mvn(org.eclipse.aether:aether-util)
1398031
BuildRequires:  mvn(org.eclipse.sisu:org.eclipse.sisu.plexus)
1398031
BuildRequires:  mvn(org.hamcrest:hamcrest-core)
1398031
BuildRequires:  mvn(org.hamcrest:hamcrest-library)
1398031
64c225b
Requires:       ant
033a673
033a673
%description
1398031
The Aether Ant Tasks enable build scripts for Apache Ant 1.7+ to use Eclipse
033a673
Aether to resolve dependencies and install and deploy locally built artifacts.
033a673
033a673
%package javadoc
033a673
Summary:        Javadocs for %{name}
033a673
Group:          Documentation
033a673
033a673
%description javadoc
033a673
This package contains the API documentation for %{name}.
033a673
033a673
%prep
1398031
%setup -q -n %{name}-%{version}.%{vertag}
64c225b
%patch0001 -p1
Mat Booth 213b9d0
Mat Booth 213b9d0
# Use junit since junit-dep is obselete and equivilent to junit since 4.11
Mat Booth 213b9d0
sed -i -e 's@junit-dep@junit@g' pom.xml
Mat Booth 213b9d0
Mat Booth 213b9d0
%pom_remove_plugin ":maven-shade-plugin"
Mat Booth 213b9d0
%pom_remove_plugin ":maven-enforcer-plugin"
Mat Booth 213b9d0
033a673
%build
Mat Booth 213b9d0
# Some tests require internet connectivity, so ignore failures
Mat Booth 213b9d0
%mvn_build -- -Dmaven.test.failure.ignore=true
033a673
033a673
%install
65707a0
%mvn_install
033a673
64c225b
install -d -m 755 %{buildroot}/%{_sysconfdir}/ant.d
64c225b
install -p -m 644 %{SOURCE5} %{buildroot}/%{_sysconfdir}/ant.d/%{name}
64c225b
65707a0
%files -f .mfiles
64c225b
%config(noreplace) %{_sysconfdir}/ant.d/%{name}
1398031
%doc README.md
1398031
%doc epl-v10.html notice.html
033a673
65707a0
%files javadoc -f .mfiles-javadoc
1398031
%doc epl-v10.html notice.html
033a673
033a673
%changelog
1ca15b6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.0-2
1ca15b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1ca15b6
fc4f8e1
* Tue May 20 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.0.0-1
fc4f8e1
- Update to upstream version 1.0.0
fc4f8e1
e1f7c83
* Thu Feb 27 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.9.0-1
e1f7c83
- Update to upstream version 0.9.0
e1f7c83
3558b5b
* Tue Jan  7 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.9.0-0.4.M4
3558b5b
- Update to upstream version 0.9.0.M4
3558b5b
- Remove workaround for rhbz#996062
3558b5b
64c225b
* Wed Sep 11 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.9.0-0.3.M3
64c225b
- Add support for resulving artifacts using XMvn
64c225b
- Resolves: rhbz#1005971
64c225b
1398031
* Mon Aug 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.9.0-0.2.M3
1398031
- Update to upstream version 0.9.0.M3
1398031
Mat Booth 213b9d0
* Mon Jul 29 2013 Mat Booth <fedora@matbooth.co.uk> - 1:0.9-0.1.SNAPSHOT
Mat Booth 213b9d0
- Upstream has moved to Eclipse, update to upstream 0.9-SNAPSHOT
Mat Booth 213b9d0
- Run tests now all deps are in Fedora
Mat Booth 213b9d0
- Migrate to Eclipse Aether, fixes rhbz #985700
Mat Booth 213b9d0
Mat Booth 213b9d0
* Tue May 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.8.SNAPSHOT
eab8eb4
- Add missing BR: maven-shade-plugin
eab8eb4
ad54dbb
* Tue May  7 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.7.SNAPSHOT
ad54dbb
- Replace BR with mvn-style virtual packages
ad54dbb
- Resolves: rhbz#958156
ad54dbb
5754003
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.6.SNAPSHOT
5754003
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5754003
Stanislav Ochotnicky a0611cd
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0-0.5.SNAPSHOT
Stanislav Ochotnicky a0611cd
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
Stanislav Ochotnicky a0611cd
- Replace maven BuildRequires with maven-local
Stanislav Ochotnicky a0611cd
32ec3f7
* Wed Jan  9 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.4.SNAPSHOT
32ec3f7
- Bump release tag
32ec3f7
65707a0
* Tue Jan  8 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.3.SNAPSHOT
65707a0
- Build with xmvn
65707a0
052ea2a
* Mon Sep 17 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-0.2.SNAPSHOT
052ea2a
- Install LICENSE files
052ea2a
033a673
* Mon Apr 30 2012 Mikolaj Izdebski <mizdebsk@redhat.com> 1.0-0.1.SNAPSHOT
033a673
- Initial packaging.