From 213b9d081e4c03147fb71957f1881cbe15e7bdce Mon Sep 17 00:00:00 2001 From: Mat Booth Date: Jul 29 2013 13:10:08 +0000 Subject: Upstream has moved to Eclipse, update to upstream 0.9-SNAPSHOT - Run tests now all deps are in Fedora - Migrate to Eclipse Aether, fixes rhbz #985700 --- diff --git a/.gitignore b/.gitignore index e69de29..0eef8f3 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,2 @@ +/epl-v10.html +/aether-ant.tar.xz diff --git a/aether-ant-tasks.spec b/aether-ant-tasks.spec index b01074d..f81b35b 100644 --- a/aether-ant-tasks.spec +++ b/aether-ant-tasks.spec @@ -1,29 +1,30 @@ Name: aether-ant-tasks -Version: 1.0 -Release: 0.7.SNAPSHOT%{?dist} +Epoch: 1 +Version: 0.9 +Release: 0.1.SNAPSHOT%{?dist} Summary: Ant tasks using Aether to resolve, install and deploy artifacts Group: Development/Libraries BuildArch: noarch License: EPL -URL: https://github.com/sonatype/aether-ant-tasks -# git clone git://github.com/sonatype/aether-ant-tasks.git -# tar c --exclude-vcs aether-ant-tasks | lbzip2 >aether-ant-tasks.tar.bz2 -Source0: aether-ant-tasks.tar.bz2 +URL: http://www.eclipse.org/aether +# git clone http://git.eclipse.org/gitroot/aether/aether-ant.git +# tar -cJf aether-ant.tar.xz aether-ant +Source0: aether-ant.tar.xz Source1: http://www.eclipse.org/legal/epl-v10.html BuildRequires: maven-local -BuildRequires: mvn(org.apache.ant:ant) -BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin) +BuildRequires: ant-testutil BuildRequires: mvn(org.apache.maven:maven-aether-provider) BuildRequires: mvn(org.apache.maven:maven-settings-builder) BuildRequires: mvn(org.codehaus.plexus:plexus-component-annotations) -BuildRequires: mvn(org.codehaus.plexus:plexus-container-default) BuildRequires: mvn(org.codehaus.plexus:plexus-interpolation) -BuildRequires: mvn(org.sonatype.aether:aether-api) -BuildRequires: mvn(org.sonatype.aether:aether-connector-asynchttpclient) -BuildRequires: mvn(org.sonatype.aether:aether-connector-file) -BuildRequires: mvn(org.sonatype.aether:aether-util) +BuildRequires: mvn(org.eclipse.aether:aether-api) +BuildRequires: mvn(org.eclipse.aether:aether-util) +BuildRequires: mvn(org.eclipse.aether:aether-impl) +BuildRequires: mvn(org.eclipse.aether:aether-connector-asynchttpclient) +BuildRequires: mvn(org.eclipse.aether:aether-connector-file) +BuildRequires: mvn(org.eclipse.aether:aether-test-util) BuildRequires: mvn(org.sonatype.forge:forge-parent) %description @@ -38,12 +39,24 @@ Group: Documentation This package contains the API documentation for %{name}. %prep -%setup -q -n %{name} +%setup -q -n aether-ant cp -p %{SOURCE1} LICENSE +# Not sure what the deal is with tesla... +sed -i -e 's@io\.tesla@org.apache@g' pom.xml + +# Use junit since junit-dep is obselete and equivilent to junit since 4.11 +sed -i -e 's@junit-dep@junit@g' pom.xml + +# Fix build deps +%pom_add_dep "org.codehaus.plexus:plexus-component-api" +%pom_remove_dep "org.sonatype.sisu:sisu-inject-plexus" +%pom_remove_plugin ":maven-shade-plugin" +%pom_remove_plugin ":maven-enforcer-plugin" + %build -# Tests are skipped because of missing dependency - mvn(junit:junit-dep) -%mvn_build -f +# Some tests require internet connectivity, so ignore failures +%mvn_build -- -Dmaven.test.failure.ignore=true %install %mvn_install @@ -55,7 +68,12 @@ cp -p %{SOURCE1} LICENSE %doc LICENSE %changelog -* Tue May 14 2013 Mikolaj Izdebski - 1.0-0.7.SNAPSHOT +* Mon Jul 29 2013 Mat Booth - 1:0.9-0.1.SNAPSHOT +- Upstream has moved to Eclipse, update to upstream 0.9-SNAPSHOT +- Run tests now all deps are in Fedora +- Migrate to Eclipse Aether, fixes rhbz #985700 + +* Tue May 14 2013 Mikolaj Izdebski - 1.0-0.8.SNAPSHOT - Add missing BR: maven-shade-plugin * Tue May 7 2013 Mikolaj Izdebski - 1.0-0.7.SNAPSHOT diff --git a/aether-ant-tasks.tar.bz2 b/aether-ant-tasks.tar.bz2 deleted file mode 100644 index d1e6e17..0000000 Binary files a/aether-ant-tasks.tar.bz2 and /dev/null differ diff --git a/sources b/sources index bb118dd..8fb20a8 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -830d3178bfe209f60d1898b08b271e64 aether-ant-tasks.tar.bz2 d0fc088e4e5216422c217d39853d8601 epl-v10.html +91002861d20307aad3816c904b7531ad aether-ant.tar.xz