File: 0003-openjdk6-fixup.patch

package info (click to toggle)
maven-hpi-plugin 1.93-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 592 kB
  • ctags: 421
  • sloc: java: 2,319; xml: 698; makefile: 8
file content (22 lines) | stat: -rw-r--r-- 1,064 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Date: Mon, 12 Aug 2013 10:34:04 +0100
Subject: openjdk6-fixup

---
 src/main/java/org/jenkinsci/maven/plugins/hpi/AbstractHpiMojo.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/main/java/org/jenkinsci/maven/plugins/hpi/AbstractHpiMojo.java b/src/main/java/org/jenkinsci/maven/plugins/hpi/AbstractHpiMojo.java
index d551f28..d8c1f09 100644
--- a/src/main/java/org/jenkinsci/maven/plugins/hpi/AbstractHpiMojo.java
+++ b/src/main/java/org/jenkinsci/maven/plugins/hpi/AbstractHpiMojo.java
@@ -645,9 +645,6 @@ public abstract class AbstractHpiMojo extends AbstractJenkinsMojo {
             unArchiver.setDestDirectory(location);
             unArchiver.extract();
         }
-        catch (IOException e) {
-            throw new MojoExecutionException("Error unpacking file: " + file + "to: " + location, e);
-        }
         catch (ArchiverException e) {
             throw new MojoExecutionException("Error unpacking file: " + file + "to: " + location, e);
         }