You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2017/12/20 09:27:18 UTC

[maven-ant-plugin] 09/48: forgot IOException doesn't take this arg even in JDK 1.4+. Going with a temporary solution.

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to annotated tag maven-ant-plugin-2.1
in repository https://gitbox.apache.org/repos/asf/maven-ant-plugin.git

commit 16d35b3b5380b6f255447f7a4efa9034b2981da7
Author: Brett Leslie Porter <br...@apache.org>
AuthorDate: Mon Oct 29 06:43:54 2007 +0000

    forgot IOException doesn't take this arg even in JDK 1.4+. Going with a temporary solution.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-ant-plugin@589522 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/maven/plugin/ant/AntBuildWriterUtil.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/plugin/ant/AntBuildWriterUtil.java b/src/main/java/org/apache/maven/plugin/ant/AntBuildWriterUtil.java
index 83083ff..241655e 100644
--- a/src/main/java/org/apache/maven/plugin/ant/AntBuildWriterUtil.java
+++ b/src/main/java/org/apache/maven/plugin/ant/AntBuildWriterUtil.java
@@ -1182,7 +1182,8 @@ public class AntBuildWriterUtil
             }
             catch ( Exception e )
             {
-                throw new IOException( "Exception occured: " + e.getMessage(), e );
+                e.printStackTrace();
+                throw new IOException( "Exception occured: " + e.getMessage() );
             }
         }
 

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.