You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Allen Servedio (JIRA)" <ji...@codehaus.org> on 2008/02/07 19:36:32 UTC

[jira] Commented: (MWAR-140) 2.1-alpha-2 head is not compiling because AbstractWarPackagingTask is trying to catch an IOException that is no longer thrown

    [ http://jira.codehaus.org/browse/MWAR-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_122793 ] 

Allen Servedio commented on MWAR-140:
-------------------------------------

Just to be a bit more helpful, here is the error I got while trying to build revision 619529:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
D:\svn_home\maven-war-plugin\src\main\java\org\apache\maven\plugin\war\packaging
\AbstractWarPackagingTask.java:[265,8] exception java.io.IOException is never th
rown in body of corresponding try statement


> 2.1-alpha-2 head is not compiling because AbstractWarPackagingTask is trying to catch an IOException that is no longer thrown
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MWAR-140
>                 URL: http://jira.codehaus.org/browse/MWAR-140
>             Project: Maven 2.x War Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1-alpha-2
>            Reporter: Allen Servedio
>            Assignee: Olivier Lamy
>            Priority: Blocker
>         Attachments: FixForIOExceptionCatchInAbstractWarPackagingTask.patch
>
>
> 2.1-alpha-2 head is not compiling because AbstractWarPackagingTask is trying to catch an IOException that is no longer thrown. I have fix this locally and have attached a simple patch for it. All you have to do is remove the offending catch block.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira