diff --git a/.gitignore b/.gitignore index 7b50aae..483aab8 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ maven-dependency-plugin-2.2.tar.xz /maven-dependency-plugin-2.3-source-release.zip /maven-dependency-plugin-2.4-source-release.zip /maven-dependency-plugin-2.6-source-release.zip +/maven-dependency-plugin-2.7-source-release.zip diff --git a/maven-dependency-plugin-removed-exception-catching.patch b/maven-dependency-plugin-removed-exception-catching.patch index 6484813..e18d67c 100644 --- a/maven-dependency-plugin-removed-exception-catching.patch +++ b/maven-dependency-plugin-removed-exception-catching.patch @@ -1,15 +1,27 @@ +From a9316856e6c53eba9f444c85dfdfeff6d0f0f5b7 Mon Sep 17 00:00:00 2001 +From: Michal Srb +Date: Fri, 15 Mar 2013 13:53:16 +0100 +Subject: [PATCH] removed exception catching + +--- + .../apache/maven/plugin/dependency/resolvers/ResolvePluginsMojo.java | 4 ---- + 1 file changed, 4 deletions(-) + diff --git a/src/main/java/org/apache/maven/plugin/dependency/resolvers/ResolvePluginsMojo.java b/src/main/java/org/apache/maven/plugin/dependency/resolvers/ResolvePluginsMojo.java -index cbc2520..eb8b1e6 100644 +index bc509dd..476f520 100644 --- a/src/main/java/org/apache/maven/plugin/dependency/resolvers/ResolvePluginsMojo.java +++ b/src/main/java/org/apache/maven/plugin/dependency/resolvers/ResolvePluginsMojo.java -@@ -137,10 +137,6 @@ public class ResolvePluginsMojo +@@ -143,10 +143,6 @@ public class ResolvePluginsMojo { throw new MojoExecutionException( "Nested:", e ); } -- catch ( InvalidDependencyVersionException e ) +- catch ( final InvalidDependencyVersionException e ) - { - throw new MojoExecutionException( "Nested:", e ); - } - finally + catch ( final ArtifactFilterException e ) { - IOUtil.close( outputWriter ); + throw new MojoExecutionException( "Nested:", e ); +-- +1.8.1.4 + diff --git a/maven-dependency-plugin.spec b/maven-dependency-plugin.spec index 4a577f5..27dfecc 100644 --- a/maven-dependency-plugin.spec +++ b/maven-dependency-plugin.spec @@ -1,6 +1,6 @@ Name: maven-dependency-plugin -Version: 2.6 -Release: 2%{?dist} +Version: 2.7 +Release: 1%{?dist} Summary: Plugin to manipulate, copy and unpack local and remote artifacts Group: Development/Libraries @@ -85,6 +85,9 @@ sed -i \ %doc LICENSE NOTICE %changelog +* Fri Mar 15 2013 Michal Srb - 2.7-1 +- Update to upstream version 2.7 + * Thu Feb 14 2013 Fedora Release Engineering - 2.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index 10c337c..0acc104 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ d763a948029e768c224c282b00b78d23 maven-dependency-plugin-2.6-source-release.zip +f95695283b9c6fe64fec5cf69281b8a0 maven-dependency-plugin-2.7-source-release.zip