[ http://jira.codehaus.org/browse/WAGON-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Tran updated WAGON-250: --------------------------- Attachment: WAGON-250.diff wagon-sftp does not understand getFileList("") and there "" must be translated to "." Also when resourceExists( resourceName ) where resourceName has a "/" and the end to indicate it wants directory check. wagon-sftp throw exception instead of return false value The attached files solves those issues and pass wagon:list test. the test case is at https://svn.codehaus.org/mojo/trunk/mojo/wagon-maven-plugin/src/it/wagon-250 > SftpWagon.getFileList gets String index out of range: 0 > ------------------------------------------------------- > > Key: WAGON-250 > URL: http://jira.codehaus.org/browse/WAGON-250 > Project: Maven Wagon > Issue Type: Bug > Components: wagon-ssh > Affects Versions: 1.0-beta-4 > Environment: xp, linux > Reporter: Dan Tran > Attachments: WAGON-250.diff > > > to reproduce it, run mvn wagon:list -Dwagon.url=sftp://localhost -- 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