]> git.pld-linux.org Git - packages/maven.git/blame - maven-plugins-catch-uncaught-exceptions.patch
- pldize saxpath deps
[packages/maven.git] / maven-plugins-catch-uncaught-exceptions.patch
CommitLineData
ad51ea80 1--- maven-plugins/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AbstractDependencyMojo.java.sav 2007-10-16 10:25:00.000000000 -0400
2+++ maven-plugins/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/AbstractDependencyMojo.java 2007-10-16 10:26:27.000000000 -0400
bd00ca76 3@@ -241,6 +241,11 @@ public abstract class AbstractDependency
4 throw new MojoExecutionException( "Error unpacking file: " + file + " to: " + location + "\r\n"
5 + e.toString(), e );
6 }
7+ catch ( IOException ioe )
8+ {
9+ throw new MojoExecutionException( "I/O exception when unpacking file: " + file, ioe );
10+ }
11+
12 }
13
14 private void silenceUnarchiver( UnArchiver unArchiver )
ad51ea80 15--- maven-plugins/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/utils/AssemblyFileUtils.java.sav 2007-10-16 10:23:42.000000000 -0400
16+++ maven-plugins/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/utils/AssemblyFileUtils.java 2007-10-16 10:26:51.000000000 -0400
bd00ca76 17@@ -62,6 +62,11 @@ public final class AssemblyFileUtils
18 {
19 throw new ArchiveExpansionException( "Error unpacking file: " + source + "to: " + destDir, e );
20 }
21+ catch ( IOException ioe )
22+ {
23+ throw new ArchiveExpansionException( "I/O exception when unpacking file: " + source, ioe );
24+ }
25+
26 }
27
28 /**
This page took 0.093144 seconds and 4 git commands to generate.