From e2d80ff7a539ef3765787e3203be359453245e89 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Mon, 12 Aug 2013 09:28:33 +0200 Subject: [PATCH] Update Aether to 0.9.0.M3 --- 0001-Update-Aether-to-0.9.0.M3.patch | 95 ++++++++++++++++++++++++++++ maven.spec | 20 +++--- 2 files changed, 107 insertions(+), 8 deletions(-) create mode 100644 0001-Update-Aether-to-0.9.0.M3.patch diff --git a/0001-Update-Aether-to-0.9.0.M3.patch b/0001-Update-Aether-to-0.9.0.M3.patch new file mode 100644 index 0000000..37b31ef --- /dev/null +++ b/0001-Update-Aether-to-0.9.0.M3.patch @@ -0,0 +1,95 @@ +From 51bc34848a46cca087fa7872b92af12a89415708 Mon Sep 17 00:00:00 2001 +From: Mikolaj Izdebski +Date: Mon, 12 Aug 2013 08:49:19 +0200 +Subject: [PATCH] Update Aether to 0.9.0.M3 + +--- + apache-maven/pom.xml | 6 +++++- + maven-aether-provider/pom.xml | 7 ++++++- + maven-compat/pom.xml | 7 ++++++- + pom.xml | 9 +++++++-- + 4 files changed, 24 insertions(+), 5 deletions(-) + +diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml +index 49ab2e9..9ecc868 100644 +--- a/apache-maven/pom.xml ++++ b/apache-maven/pom.xml +@@ -81,7 +81,11 @@ + + + org.eclipse.aether +- aether-connector-wagon ++ aether-transport-wagon ++ ++ ++ org.eclipse.aether ++ aether-connector-basic + + + org.slf4j +diff --git a/maven-aether-provider/pom.xml b/maven-aether-provider/pom.xml +index 1bb1126..90aa2a2 100644 +--- a/maven-aether-provider/pom.xml ++++ b/maven-aether-provider/pom.xml +@@ -64,7 +64,12 @@ under the License. + + + org.eclipse.aether +- aether-connector-wagon ++ aether-connector-basic ++ test ++ ++ ++ org.eclipse.aether ++ aether-transport-wagon + test + + +diff --git a/maven-compat/pom.xml b/maven-compat/pom.xml +index 21270b7..74551c9 100644 +--- a/maven-compat/pom.xml ++++ b/maven-compat/pom.xml +@@ -73,7 +73,12 @@ + + + org.eclipse.aether +- aether-connector-wagon ++ aether-transport-wagon ++ test ++ ++ ++ org.eclipse.aether ++ aether-connector-basic + test + + +diff --git a/pom.xml b/pom.xml +index 19edb60..c4f724c 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -58,7 +58,7 @@ + 1.7 + 1.7 + 1.3 +- 0.9.0.M2 ++ 0.9.0.M3 + 1.7.4 + true + +@@ -284,7 +284,12 @@ + + + org.eclipse.aether +- aether-connector-wagon ++ aether-connector-basic ++ ${aetherVersion} ++ ++ ++ org.eclipse.aether ++ aether-transport-wagon + ${aetherVersion} + + +-- +1.8.1.4 + diff --git a/maven.spec b/maven.spec index c3a8bf8..e75be50 100644 --- a/maven.spec +++ b/maven.spec @@ -1,8 +1,6 @@ -%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^mvn\\(org\\.eclipse\\.aether:.*\\)$ - Name: maven Version: 3.1.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Java project management and project comprehension tool Group: Development/Tools @@ -18,16 +16,19 @@ Source200: %{name}-script # Patch1XX could be upstreamed probably Patch100: 0005-Use-generics-in-modello-generated-code.patch +# Forwarded upstream (MNG-5502) +Patch200: 0001-Update-Aether-to-0.9.0.M3.patch + BuildArch: noarch BuildRequires: maven-local -BuildRequires: aether >= 1:0 BuildRequires: aether-api >= 1:0 -BuildRequires: aether-connector-wagon >= 1:0 +BuildRequires: aether-connector-basic >= 1:0 BuildRequires: aether-impl >= 1:0 BuildRequires: aether-spi >= 1:0 BuildRequires: aether-util >= 1:0 +BuildRequires: aether-transport-wagon >= 1:0 BuildRequires: aopalliance BuildRequires: apache-commons-cli BuildRequires: apache-commons-jxpath @@ -93,6 +94,7 @@ Group: Documentation %prep %setup -q -n apache-%{name}-%{version}%{?ver_add} %patch100 -p1 +%patch200 -p1 # not really used during build, but a precaution rm maven-ant-tasks-*.jar @@ -168,15 +170,14 @@ cp -a $M2_HOME/bin/* %{buildroot}%{_datadir}/%{name}/bin ln -sf $(build-classpath plexus/classworlds) \ %{buildroot}%{_datadir}/%{name}/boot/plexus-classworlds.jar -ln -sf %{_javadir}/aether/aether-connector-basic.jar %{buildroot}%{_datadir}/%{name}/lib/ -ln -sf %{_javadir}/aether/aether-transport-wagon.jar %{buildroot}%{_datadir}/%{name}/lib/ (cd %{buildroot}%{_datadir}/%{name}/lib build-jar-repository -s -p . \ aether/aether-api \ - aether/aether-connector-wagon \ + aether/aether-connector-basic \ aether/aether-impl \ aether/aether-spi \ aether/aether-util \ + aether/aether-transport-wagon \ aopalliance \ objectweb-asm \ cdi-api \ @@ -223,6 +224,9 @@ ln -sf %{_javadir}/aether/aether-transport-wagon.jar %{buildroot}%{_datadir}/%{n %changelog +* Mon Aug 12 2013 Mikolaj Izdebski - 3.1.0-6 +- Update Aether to 0.9.0.M3 + * Mon Aug 12 2013 Mikolaj Izdebski - 3.1.0-5 - Prepare for update to Aether 0.9.0.M3