You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Tran (JIRA)" <ji...@codehaus.org> on 2009/01/04 10:56:19 UTC

[jira] Closed: (WAGON-245) Wagon providers throw the wrong exception in getFilelist for resource not found

     [ http://jira.codehaus.org/browse/WAGON-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Tran closed WAGON-245.
--------------------------

    Resolution: Fixed

patch applied

Revision: 731213
Author: dantran
Date: 1:54:21 AM, Sunday, January 04, 2009
Message:
WAGON-245:throw ResourceDoesNotExistException for a couple of corner cases
----
Modified : /maven/wagon/trunk/wagon-providers/wagon-ftp/src/main/java/org/apache/maven/wagon/providers/ftp/FtpWagon.java
Modified : /maven/wagon/trunk/wagon-providers/wagon-ssh-common/src/main/java/org/apache/maven/wagon/providers/ssh/ScpHelper.java



> Wagon providers throw the wrong exception in getFilelist for resource not found
> -------------------------------------------------------------------------------
>
>                 Key: WAGON-245
>                 URL: http://jira.codehaus.org/browse/WAGON-245
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-ftp, wagon-ssh, wagon-ssh-external
>    Affects Versions: 1.0-beta-4
>            Reporter: Dan Tran
>            Assignee: Dan Tran
>             Fix For: 1.0-beta-5
>
>         Attachments: WAGON-245-ftp.diff, WAGON-245.diff
>
>
> wagon providers should throw  ResourceDoesNotExistException rather then TransferFailedException when the interested directory or file not found at the remote server ( ie wagon.getFilelist() ).
> This is a needed fix to get stage plugin to support scp source. and wagon-maven-plugin at MOJO to support unify list mojo accross protocols

-- 
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