maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1492161 - /maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/packaging/AbstractWarPackagingTask.java
Date Wed, 12 Jun 2013 11:50:26 GMT
Author: olamy
Date: Wed Jun 12 11:50:26 2013
New Revision: 1492161

URL: http://svn.apache.org/r1492161
Log:
1.5 compilation

Modified:
    maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/packaging/AbstractWarPackagingTask.java

Modified: maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/packaging/AbstractWarPackagingTask.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/packaging/AbstractWarPackagingTask.java?rev=1492161&r1=1492160&r2=1492161&view=diff
==============================================================================
--- maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/packaging/AbstractWarPackagingTask.java
(original)
+++ maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/packaging/AbstractWarPackagingTask.java
Wed Jun 12 11:50:26 2013
@@ -317,7 +317,9 @@ public abstract class AbstractWarPackagi
                 {
                     String msg = "Failed to create " + targetFilename;
                     context.getLog().error( msg, e );
-                    throw new IOException( msg, e );
+                    IOException ioe = new IOException( msg );
+                    ioe.initCause( e );
+                    throw ioe;
                 }
             }
             else



Mime
View raw message